Closed xuuanthuc closed 2 years ago
but when i restart the app the method works again
Please check in the latest version. I think this part is the problem. https://github.com/khjde1207/tesseract_ocr/blob/0d2d22b2e5c544966c38a5d2567acb643b80e604/android/src/main/java/io/paratoner/flutter_tesseract_ocr/FlutterTesseractOcrPlugin.java#L100
My Code:
textScanController.text = await FlutterTesseractOcr.extractText(_homeController.filePath.value, language: 'eng');