React Native Tesseract OCR [错误:数据路径不存在! ]

时间:2018-09-07 02:37:36

标签: react-native react-native-android

iam从npm看了有关react-native-tesseract-ocr的教程,我发现了这个错误:

  

OCR错误:错误:数据路径不存在!

md-icon

这是我的代码:

at createErrorFromErrorData (D:\React Native\alternote\node_modules\react-native\Libraries\BatchedBridge\NativeModules.js:121)
at D:\React Native\alternote\node_modules\react-native\Libraries\BatchedBridge\NativeModules.js:78
at MessageQueue.__invokeCallback (D:\React Native\alternote\node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:398)
at D:\React Native\alternote\node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:137
at MessageQueue.__guardSafe (D:\React Native\alternote\node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:314)
at MessageQueue.invokeCallbackAndReturnFlushedQueue (D:\React Native\alternote\node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:136)
at debuggerWorker.js:70

我将训练过的数据放到android / app / src / main / assets / tessdata / ind.traineddata中,因为我只想使用印尼语。但是错误想消失了,请帮助

0 个答案:

没有答案