Closed AnanPani closed 3 years ago
i try to add other language with out in library react-native-tesseract-ocr (react-native-tesseract-ocr/index.js) such as
export const LANG_THAI = 'tha';
and add my project package.json
"dependencies": { .... "react-native-tesseract-ocr": "file:../react-native-tesseract-ocr" },
but when i'm use LANG_THAI in my project like below
//Import import TesseractOcr, { LANG_THAI, useEventListener, } from 'react-native-tesseract-ocr';
// Usage const tesseractOptions = {}; const recognizedText = await TesseractOcr.recognize( path, LANG_THAI, tesseractOptions, );
When select image Application it's crash every time.
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.
i try to add other language with out in library react-native-tesseract-ocr (react-native-tesseract-ocr/index.js) such as
export const LANG_THAI = 'tha';
and add my project package.json
"dependencies": { .... "react-native-tesseract-ocr": "file:../react-native-tesseract-ocr" },
but when i'm use LANG_THAI in my project like below
//Import import TesseractOcr, { LANG_THAI, useEventListener, } from 'react-native-tesseract-ocr';
// Usage const tesseractOptions = {}; const recognizedText = await TesseractOcr.recognize( path, LANG_THAI, tesseractOptions, );
When select image Application it's crash every time.