← all repositories
gali8/Tesseract-OCR-iOS

Google's OCR Engine, Dressed for the App Store

A framework that wraps the venerable Tesseract OCR engine and its C dependencies into something an iOS developer can actually ship.

Tesseract-OCR-iOS
Not currently ranked — collecting fresh signals.
star history

What it does

This repository packages Google’s Tesseract OCR engine—along with Leptonica, libtiff, libpng, and libjpeg—into a drop-in iOS framework. It handles the cross-compilation for armv7s and arm64, bitcode included, exposing the engine to Objective-C or Swift projects running iOS 9.0 or later.

The interesting bit

This is largely a packaging effort: the author cross-compiled Tesseract and its C dependencies for Apple’s armv7s and arm64 targets so iOS developers don’t have to wrestle with configure scripts and Xcode build settings.

Key highlights

  • Bundles Tesseract 3.03-rc1, Leptonica 1.72, and image I/O libraries into one framework
  • Ships with bitcode enabled for all bundled libraries
  • Supports iOS 9.0+ in both Objective-C and Swift
  • Distributed via Carthage (and CocoaPods, per the repo shields)
  • MIT licensed wrapper around Apache 2.0 upstream code

Caveats

  • The bundled Tesseract 3.03-rc1 is an older release candidate; verify it meets your accuracy needs
  • Requires language training data to live in a specific tessdata folder at runtime
  • macOS support is only available through a community fork, not this main repo

Verdict

Handy if you need offline text recognition in an iOS app without managing C library builds yourself. Not the right choice if you need macOS support from the main repo or dislike managing a tessdata folder.

Frequently asked

What is gali8/Tesseract-OCR-iOS?
A framework that wraps the venerable Tesseract OCR engine and its C dependencies into something an iOS developer can actually ship.
Is Tesseract-OCR-iOS open source?
Yes — gali8/Tesseract-OCR-iOS is open source, released under the MIT license.
What language is Tesseract-OCR-iOS written in?
gali8/Tesseract-OCR-iOS is primarily written in C.
How popular is Tesseract-OCR-iOS?
gali8/Tesseract-OCR-iOS has 4.2k stars on GitHub.
Where can I find Tesseract-OCR-iOS?
gali8/Tesseract-OCR-iOS is on GitHub at https://github.com/gali8/Tesseract-OCR-iOS.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.