scanFilePath method

Future<Map> scanFilePath(
  1. String filePath, {
  2. String? modelId,
  3. Map<String, double>? roi,
})

Scan an image file from path. Default throws. roi is a normalised {x, y, width, height} map in [0, 1]; native implementations that don't support cropping should ignore the key.

Implementation

Future<Map<dynamic, dynamic>> scanFilePath(String filePath,
        {String? modelId, Map<String, double>? roi}) =>
    throw UnimplementedError(
        'scanFilePath is not implemented by this platform');