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)