hello guys, i'm in hurry plz help if you can
So i installed the react-native-tesseract-ocr and trying to recognize some
text with it but i got error causing by LANG-ENGLISH , if i remove that
error is gone but the result is non sense.
OCR Error: Error: Attempt to invoke virtual method 'java.lang.String
java.lang.Object.toString()' on a null object reference
at Object.promiseMethodWrapper [as recognize]
(D:\Uni\React-Native\tesseract\TextRecognition\node_modules\react-
native\Libraries\BatchedBridge\NativeModules.js:103)
and thats my code :
import RNTesseractOcr , { LANG_ENGLISH , LEVEL_WORD } from
'react-native-tesseract-ocr';
RNTesseractOcr.recognize(path, LANG_ENGLISH , tessOptions)
--
You received this message because you are subscribed to the Google Groups
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tesseract-ocr/03cab0fa-e8b6-4566-8b92-b861716f5f6fn%40googlegroups.com.