gali8 / Tesseract-OCR-iOS

Tesseract OCR iOS is a Framework for iOS7+, compiled also for armv7s and arm64.
http://www.nexor.it
MIT License
4.22k stars 950 forks source link

Multiple language support ? #348

Open burkaslarry opened 7 years ago

burkaslarry commented 7 years ago

Sir

I work for receipt scanning , using your Tesseract-OCR-iOS , 4.0.0 . When I go to using multiple tessdata for scanning multiple languages , importing these traindata as below ;

screen shot 2017-10-11 at 11 15 54 am
var tesseract = G8Tesseract(language: "eng", engineMode: .tesseractOnly)

viewDidLoad () { tesseract?.language = "eng+chi_tra+chi_sim"

}

it goes to the error :

actual_tessdata_numentries <= TESSDATA_NUM_ENTRIES:Error:Assert failed:in file ../../ccutil/tessdatamanager.cpp

how multiple language features should be initialised in this case ?

raisen commented 7 years ago

It seems that 4.0.0 isn't yet supported, see #343. Use 3.04/3.05