setIoUThreshold method
Implementation
Future<void> setIoUThreshold(double threshold) async {
_iouThreshold = threshold.clamp(0.0, 1.0);
if (_methodChannel != null) {
try {
await _methodChannel!.invokeMethod('setIoUThreshold', {
'threshold': _iouThreshold,
});
} catch (e) {
logInfo('Error setting IoU threshold: $e');
}
}
}