detect method
Implementation
@override
Future<AdHocIdentity?> detect(OcrImage ocrImage) async {
final blocksAndLines = await extractor.extract(ocrImage);
if (blocksAndLines == null) {
return null;
}
final identity = await parser.parse(blocksAndLines);
return identity;
}