setThreshold method
Update detection thresholds.
Implementation
@override
Future<void> setThreshold({double probThreshold = 0.5, double nmsThreshold = 0.45}) async {
await methodChannel.invokeMethod('setThreshold', {'probThreshold': probThreshold, 'nmsThreshold': nmsThreshold});
}