detectFile method

Future<List<DocumentResult>> detectFile(
  1. String file
)

Document edge detection file - path to the file. Returns a List of DocumentResult.

Implementation

Future<List<DocumentResult>> detectFile(String file) async {
  if (_normalizer != null) {
    List<dynamic> results =
        await handleThenable(_normalizer!.detectQuad(file, true));
    return _resultWrapper(results);
  }

  return [];
}