We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There was no recognition at all
i already declare the module
late ScanAllModule scanModule; @override void initState() { super.initState(); scanModule = ScanAllModule(); scanModule.start(); }
and this is the widget
Widget _buildLiveScan() { return LiveScanWidget( ocrTextResult: (ocrTextResult) { ocrTextResult.mapResult.forEach((module, result) { print('OCR result $result'); }); }, scanModules: [ScanAllModule()], ); }
Error Exception
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(InputImageConverterError, java.lang.IllegalArgumentException, null, null) E/flutter ( 6928): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:648:7) E/flutter ( 6928): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:334:18) E/flutter ( 6928): <asynchronous suspension> E/flutter ( 6928): #2 TextRecognizer.processImage (package:google_mlkit_text_recognition/src/text_recognizer.dart:23:20) E/flutter ( 6928): <asynchronous suspension> E/flutter ( 6928): #3 OcrScanService.processImage (package:ocr_scan_text/ocr_scan/services/ocr_scan_service.dart:169:28) E/flutter ( 6928): <asynchronous suspension> E/flutter ( 6928): #4 ScanWidgetState.processImage (package:ocr_scan_text/ocr_scan/widget/scan_widget.dart:65:39) E/flutter ( 6928): <asynchronous suspension> E/flutter ( 6928):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There was no recognition at all
i already declare the module
and this is the widget
Error Exception
The text was updated successfully, but these errors were encountered: