{"repo":"adaptech-cz/Tesseract4Android","free":true,"listed":false,"github":"https://github.com/adaptech-cz/Tesseract4Android","clone":"git clone https://github.com/adaptech-cz/Tesseract4Android.git","description":"Fork of tess-two rewritten from scratch to support latest version of Tesseract OCR.","language":"C","stars":936,"topics":["android","ocr","tesseract","tesseract-ocr","leptonica","libpng","libjpeg","optical-character-recognition","tesseract-android"],"license":"Apache-2.0","category":"media-processing","readme_excerpt":"Tesseract4Android Fork of tess-two rewritten from scratch to build with CMake and support latest Android Studio and Tesseract OCR. The Java/JNI wrapper files and tests for Leptonica / Tesseract are based on the [tess-two project][tess-two], which is based on [Tesseract Tools for Android][tesseract-android-tools]. Dependencies This project uses additional libraries (with their own specific licenses): - [Tesseract OCR][tesseract-ocr] 5.5.1 - [Leptonica][leptonica] 1.85.0 - [libjpeg][jpeg] v9f - [libpng][png] 1.6.48 Prerequisites - Android 5.0 (API 21) or higher - A v4.0.0 [trained data file(s)][tessdata] for language(s) you want to use. - These files must be placed in the (sub)directory named tessdata and the path must be readable by the app. When targeting API =29, only suitable places for this are app's private directories (like context.getFilesDir() or context.getExternalFilesDir() ). Variants This library is available in two variants. - Standard - Single-threaded. Best for single-core processors or when using multiple Tesseract instances in parallel. - OpenMP - Multi-threaded. Provides better performance on multi-core processors when using only single instance of Tesseract. Usage You can get compiled version of Tesseract4Android from JitPack.io. 1. Add the JitPack repository to your project root settings.gradle file at the end of repositories: 2. Add the dependency to your app module build.gradle file: 3. Use the TessBaseAPI class in your code: This is the simplest example ","default_branch":null,"files":null,"tree":[],"storefront":"/r/adaptech-cz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/adaptech-cz/Tesseract4Android/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}