jonathanpalma / react-native-tesseract-ocr

Tesseract OCR wrapper for React Native
MIT License
558 stars 172 forks source link

Could not initialize Tesseract API with language=eng! in android 11 #125

Closed Lee-YuMin closed 2 years ago

Lee-YuMin commented 2 years ago

i'm using this library thankfully. but i faced some error when i upgrade targetSdkVersion to 30 because of google's policy

when i called TesseractOcr.recognizeTokens() method. it dosen't work. it seem like JNI issue.

it was worked until version 29. but it is not working from version 30. if i build again with version 29. it is working. can you fix this?

this is error message.

E/Tesseract(native): Could not initialize Tesseract API with language=eng! A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xc in tid 30947 (Thread-8), pid 29058

Dependencies (please complete the following information):

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.