Latest 0.0.1
Homepage https://github.com/ldiqual/tesseract-ios-lib
License Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0.txt
http://www.apache.org/licenses/
Platforms ios

Tesseract Lib for iOS

About

This project contains only the leptonica and tesseract-ocr libraries compiled for iOS.

There is no support for armv6, so it won’t work with iPhone 1st Gen and iPhone 3G.

Usage

You might want to use this tesseract-ios to include Tesseract in your iOS project. For a more advanced usage, you can use the raw library with regular C++ code.

Don’t forget to rename your implementation classes with .mm instead of .m as it uses C++ code.

Code Sample

Follow this blog post for more informations.

Latest podspec

{
    "name": "Tesseract",
    "version": "0.0.1",
    "platforms": {
        "ios": null
    },
    "summary": "OCR lib for iOS.",
    "description": "Tesseract and Leptonica libraries compiled for iOS.",
    "homepage": "https://github.com/ldiqual/tesseract-ios-lib",
    "authors": "ldiqual",
    "source": {
        "git": "https://github.com/ldiqual/tesseract-ios-lib.git",
        "commit": "119c71c8af4a76fa97623dc0de3d6228d23631b7"
    },
    "license": {
        "type": "Apache License, Version 2.0",
        "text": "    http://www.apache.org/licenses/LICENSE-2.0.txtn    http://www.apache.org/licenses/n"
    },
    "source_files": [
        "include/leptonica/*.h",
        "include/tesseract/*.h"
    ],
    "preserve_paths": [
        "lib/liblept.a",
        "lib/libtesseract_all.a"
    ],
    "libraries": [
        "lept",
        "tesseract_all"
    ],
    "xcconfig": {
        "LIBRARY_SEARCH_PATHS": ""$(PODS_ROOT)/Tesseract/lib"",
        "OTHER_LDFLAGS": "-lstdc++"
    },
    "requires_arc": false
}

Pin It on Pinterest

Share This