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.21k stars 948 forks source link

Updated Makefile to build properly #398

Open ZkHaider opened 5 years ago

ZkHaider commented 5 years ago

Currently the wrong path exists for libpng in the Makefile if you'd like to build the frameworks yourself. I modified it to point to the right ftp url.

Also please note that for libtiff-ios the following ftp link will not work: ftp://ftp.remotesensing.org/pub/libtiff/$(TIFF_NAME).tar.gz

You can alternatively use 👇 https://download.osgeo.org/libtiff/$(TIFF_NAME).tar.gz

ZkHaider commented 5 years ago

I also went ahead and added bitcode enabled static libs, in case people want to roll them into their own apps.

These static libs are included in /TesseractOCR/libs with the post-fix _all and are built for all architectures, if you'd like to thin it down you can use the lipo tool to do so.

kentkrantz commented 5 years ago

@ZkHaider Would you pls add arm64e form A12x CPU?