detectObjectOnBinary method

  1. @override
Future<List?> detectObjectOnBinary({
  1. required Uint8List binary,
  2. String model = "SSDMobileNet",
  3. double threshold = 0.1,
  4. int numResultsPerClass = 5,
  5. List anchors = TfliteNextPlatform.anchors,
  6. int blockSize = 32,
  7. int numBoxesPerBlock = 5,
  8. bool asynch = true,
})
override

Implementation

@override
Future<List?> detectObjectOnBinary({
  required Uint8List binary,
  String model = "SSDMobileNet",
  double threshold = 0.1,
  int numResultsPerClass = 5,
  List anchors = TfliteNextPlatform.anchors,
  int blockSize = 32,
  int numBoxesPerBlock = 5,
  bool asynch = true,
}) async {
  return await _channel.invokeMethod('detectObjectOnBinary', {
    "binary": binary,
    "model": model,
    "threshold": threshold,
    "numResultsPerClass": numResultsPerClass,
    "anchors": anchors,
    "blockSize": blockSize,
    "numBoxesPerBlock": numBoxesPerBlock,
    "asynch": asynch,
  });
}