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 949 forks source link

Removed default initializers. Fixes #145. #150

Closed kevincon closed 9 years ago

kevincon commented 9 years ago

I made our default initializers for Tesseract unavailable because they passed nil as the language to Tesseract, which it turns out makes Tesseract default to "eng" for language. That's not good behavior, because the user may not have eng.traineddata in their tessdata folder, and thus Tesseract will crash.

coveralls commented 9 years ago

Coverage Status

Coverage decreased (-0.01%) to 91.49% when pulling c7c60ccf7677aec7290b559bc8f6268443c72adf on kevincon:hotfix-remove-default-init into 37e5940a09bb34d7519e76b9ff52012b0098cba0 on gali8:master.

coveralls commented 9 years ago

Coverage Status

Coverage decreased (-0.01%) to 91.49% when pulling c7c60ccf7677aec7290b559bc8f6268443c72adf on kevincon:hotfix-remove-default-init into 37e5940a09bb34d7519e76b9ff52012b0098cba0 on gali8:master.

coveralls commented 9 years ago

Coverage Status

Coverage decreased (-0.01%) to 91.49% when pulling c7c60ccf7677aec7290b559bc8f6268443c72adf on kevincon:hotfix-remove-default-init into 37e5940a09bb34d7519e76b9ff52012b0098cba0 on gali8:master.

coveralls commented 9 years ago

Coverage Status

Coverage decreased (-0.01%) to 91.49% when pulling c7c60ccf7677aec7290b559bc8f6268443c72adf on kevincon:hotfix-remove-default-init into 37e5940a09bb34d7519e76b9ff52012b0098cba0 on gali8:master.