Tesseract Open Source OCR Engine (main repository)
Go to file
2023-08-30 14:22:29 +02:00
android backport from 4.00: changes in Android.mk 2016-11-30 12:59:42 +01:00
api 3.05.02 release 2018-06-19 09:24:09 +02:00
ccmain fix build with leptonica >=1.82 2023-08-30 14:22:29 +02:00
ccstruct Fix unterminated string (backport from 4.0.0) 2018-06-04 17:21:04 +02:00
ccutil Fix wrong results from function streamtofloat 2018-11-17 20:39:32 +01:00
classify Reduce number of new / delete operations for class KDTreeSearch 2017-05-19 21:23:47 +02:00
cmake add License info to cmake files 2016-11-29 16:50:57 +01:00
contrib helper script to generate dawg input files from text 2016-10-17 19:04:29 +01:00
cube fix build with leptonica >=1.82 2023-08-30 14:22:29 +02:00
cutil add back freelist as it is still need by classify 2017-05-19 21:12:27 +02:00
dict backport dict.cpp and dict.h changes from commit da03e4e910 2019-01-17 11:59:54 +01:00
doc backport doc and testing changes from master (4.0) 2017-05-05 20:40:35 +02:00
java automake: Enable all warnings and fix a warning 2017-05-19 20:27:42 +02:00
neural_networks/runtime Fix two typos in comments 2016-12-11 22:26:24 +01:00
opencl opencl: Fix some compiler warnings 2017-06-20 17:41:10 +02:00
snap Add the packaging metadata to build the tesseract snap 2017-03-10 11:32:40 +01:00
tessdata fix #712: Ghostscript mangling Tesseract-produced PDFs 2017-02-13 20:09:14 +01:00
testing backport doc and testing changes from master (4.0) 2017-05-05 20:40:35 +02:00
textord fix build with leptonica >=1.82 2023-08-30 14:22:29 +02:00
training Add missing linker flags for Leptonica 2017-06-21 09:19:28 +02:00
viewer Formatting changes from clang_tidy on latest pull 2016-12-07 16:58:25 +01:00
vs2010 Remove strcasestr which is no longer needed 2017-06-03 11:58:13 +02:00
wordrec preplace nullptr with NULL in 3.05 branch 2017-05-22 22:56:41 +02:00
.gitignore Add .cppan to ignore list. 2017-02-15 13:29:24 +03:00
.travis.yml Synchronize Travis configuration with master branch 2017-04-22 17:59:40 +02:00
appveyor.yml Update appveyor.yml 2017-05-07 01:03:47 +03:00
AUTHORS AUTHORS: Add more contributors 2016-11-27 21:34:06 +01:00
autogen.sh automake: Enable all warnings and fix a warning 2017-05-19 20:27:42 +02:00
ChangeLog 3.05.02 release 2018-06-19 09:24:09 +02:00
CMakeLists.txt backport build changes from master (4.0) 2017-05-05 20:40:12 +02:00
configure.ac 3.05.02 release 2018-06-19 09:24:09 +02:00
CONTRIBUTING.md Change Mac OS X -> macOS 2017-06-03 11:53:56 +02:00
COPYING Synchronize COPYING with master branch 2017-04-22 19:26:18 +02:00
cppan.yml Rename cppan/cmake targets. 2017-02-23 20:20:05 +03:00
docker-compose.yml Dockerifying using travis build script 2016-03-18 00:32:35 -04:00
Dockerfile Dockerifying using travis build script 2016-03-18 00:32:35 -04:00
INSTALL Fix typos 2017-05-05 18:57:26 +02:00
INSTALL.GIT.md Fix typo in documentation 2016-11-25 09:18:40 +01:00
LICENSE backport from 4.00: add missing License information 2016-11-25 13:13:28 +01:00
Makefile.am backport build changes from master (4.0) 2017-05-05 20:40:12 +02:00
NEWS top-skimming import from sf.net 2007-03-07 20:03:40 +00:00
README.md 3.05.02 release 2018-06-19 09:24:09 +02:00
tesseract.pc.cmake Cmake install 2017-05-06 12:45:11 +02:00
tesseract.pc.in improve tesseract.pc.in - fixes #241 2016-03-04 22:25:40 +01:00

Build Status Build status

For the latest online version of the README.md see:

https://github.com/tesseract-ocr/tesseract/blob/master/README.md

About

This package contains an OCR engine - libtesseract and a command line program - tesseract.

The lead developer is Ray Smith. The maintainer is Zdenko Podobny. For a list of contributors see AUTHORS and GitHub's log of contributors.

Tesseract has unicode (UTF-8) support, and can recognize more than 100 languages "out of the box". It can be trained to recognize other languages. See Tesseract Training for more information.

Tesseract supports various output formats: plain-text, hocr(html), pdf.

This project does not include a GUI application. If you need one, please see the 3rdParty wiki page.

You should note that in many cases, in order to get better OCR results, you'll need to improve the quality of the image you are giving Tesseract.

The latest stable version is 3.05.02, released on 19th June 2018.

Brief history

Tesseract was originally developed at Hewlett-Packard Laboratories Bristol and at Hewlett-Packard Co, Greeley Colorado between 1985 and 1994, with some more changes made in 1996 to port to Windows, and some C++izing in 1998.

In 2005 Tesseract was open sourced by HP. Since 2006 it is developed by Google.

Release Notes

For developers

Developers can use libtesseract C or C++ API to build their own application. If you need bindings to libtesseract for other programming languages, please see the wrapper section on AddOns wiki page.

Documentation of Tesseract generated from source code by doxygen can be found on tesseract-ocr.github.io.

License

The code in this repository is licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

NOTE: This software depends on other packages that may be licensed under different open source licenses.

Installing Tesseract

You can either Install Tesseract via pre-built binary package or build it from source.

Supported Compilers

  • GCC 4.8 and above
  • Clang 3.4 and above
  • MSVC 2015, 2017

Other compilers might work, but are not officially supported.

Running Tesseract

Basic command line usage:

tesseract imagename outputbase [-l lang] [--psm pagesegmode] [configfiles...]

For more information about the various command line options use tesseract --help or man tesseract.

Support

Mailing-lists:

Please read the FAQ before asking any question in the mailing-list or reporting an issue.