detectFile method
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 [];
}