Tesseract Open Source OCR Engine (main repository)
Go to file
2017-05-19 20:24:17 +02:00
android backport from 4.00: changes in Android.mk 2016-11-30 12:59:42 +01:00
api Fix crash if output file could not be opened 2017-05-19 20:21:16 +02:00
ccmain Optimize code by replacing init_to_size with resize_no_init 2017-05-19 20:19:20 +02:00
ccstruct Optimize code by replacing init_to_size with resize_no_init 2017-05-19 20:19:20 +02:00
ccutil Optimize code by replacing init_to_size with resize_no_init 2017-05-19 20:19:20 +02:00
classify Fix typo in comment 2017-05-05 22:42:23 +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 Remove extra semicolons after member function definitions 2016-12-07 17:18:51 +01:00
cutil Remove undefined macro MAC_OR_DOS 2017-05-19 19:51:15 +02:00
dict Issue #529: cleanup 2017-05-19 20:24:17 +02:00
doc backport doc and testing changes from master (4.0) 2017-05-05 20:40:35 +02:00
java java: Improve build rules 2016-12-11 22:32:13 +01:00
neural_networks/runtime Fix two typos in comments 2016-12-11 22:26:24 +01:00
opencl Remove most libtiff dependencies 2017-05-12 10:29:53 +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 Fewer g++ -Wmaybe-uninitialized warnings 2017-05-19 20:01:56 +02:00
training Remove unused include statements for freelist.h 2017-05-19 19:46:13 +02:00
viewer Formatting changes from clang_tidy on latest pull 2016-12-07 16:58:25 +01:00
vs2010 Remove 'listio.cpp' and 'listio.h' from vs2010 vcxproj 2016-12-11 22:26:18 +01:00
wordrec Remove unused include statements for freelist.h 2017-05-19 19:46:13 +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 autogen.sh: Small Typo Fix 2017-05-05 19:05:03 +02:00
ChangeLog Fix ChangeLog for Leptonica 1.74 2017-04-22 19:26:18 +02:00
CMakeLists.txt backport build changes from master (4.0) 2017-05-05 20:40:12 +02:00
configure.ac Remove most libtiff dependencies 2017-05-12 10:29:53 +02:00
CONTRIBUTING.md Fix typos 2017-05-05 18:57:26 +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 fix typo 2017-05-05 23:47:44 +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.00, released in February 2017.

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.