Tesseract running error on Xcode

前端 未结 3 1218
广开言路
广开言路 2021-01-12 12:18

I have been testing Tesseract on Xcode.I followed instructions from Visit http://lois.di-qual.net/blog/install-and-use-tesseract-on-ios-with-tesseract-ios/ .But the problem

3条回答
  •  星月不相逢
    2021-01-12 12:53

    After days of searching for the solution, none of the proposed solutions worked for me because I am using objective C++ in xcode. But after tons of experimentations, for anyone that still need this solved, the solution is a 1-liner (if ure using TessBaseAPI), before api.init(...) add G8Tesseract *tesseract = [[G8Tesseract alloc] initWithLanguage:@"eng"]; This magically gets rid of the TESSDATA_PREFIX error

提交回复
热议问题