detectObjectOnBinary static method
Implementation
static Future<List?> detectObjectOnBinary({
required Uint8List binary,
String model = "SSDMobileNet",
double threshold = 0.1,
int numResultsPerClass = 5,
// Used in YOLO only
List anchors = 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,
},
);
}