Closed TheLastGimbus closed 3 years ago
I also get an error. I can't find a solution.
I found the cause. "https://github.com/tesseract-ocr/tessdata/raw/master/${leng}.traineddata" => "https://github.com/tesseract-ocr/tessdata/raw/main/${leng}.traineddata" I will edit the url.
I'm getting the same error when I try to run extractText()
inside Future.foreach()
. I have the trained-data saved locally for faster runtime, so I'm not sure what the issue is. I would think that reading the data is thread-safe
After my issues with Java exceptions (#13) and re-using tesseract (#4) got resolved, I went ahead and ran
flutter pub upgrade flutter_tesseract_ocr
- which pointed it to use d5cd0ac005aa18bfe3cf2ec1f92ae333f50d1387But now, when I run any scan (
FlutterTesseractOcr.extractText()
), I get this gigantic terryfing C++ panic:..and the whole app crashes (obviously)