Tesseract traineddata not working in Swift 3.0 project using version 4.0
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm attempting to use Tesseract-OCR-iOS in a new Swift 3.0 project. I'm using Xcode Version 8.1 (8B62). CocoaPods is version 1.1.1. When I attempt to use tesseract.recognize() , my app crashes and I get the following output in the console: actual_tessdata_num_entries_ <= TESSDATA_NUM_ENTRIES:Error:Assert failed:in file tessdatamanager.cpp, line 53 I found this post , which sounds I'm using the wrong version of traineddata . I downloaded tessdata from the tesseract-ocr/tessdata repo , so I'm baffled as to why I'd have a mismatch on the