Tesseract Open Source OCR Engine (main repository)
Go to file
Stefan Weil c8b28486b4 opencl: Add missing TIFF library for macOS
The OpenCL code of Tesseract uses TIFF functions, but the TIFF library
was not added to the linker flags for macOS.

This fixes builds with OpenCL on Mac.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-04-10 09:36:31 +02:00
android backport from 4.00: changes in Android.mk 2016-11-30 12:59:42 +01:00
api libtiff is needed for windows build of tesseract executable 2017-03-17 20:44:37 +01:00
ccmain fix --enable-visibility build (including training tools) 2017-03-10 23:17:30 +01:00
ccstruct Fix windows build. 2017-03-22 21:21:57 +03:00
ccutil fix --enable-visibility build (including training tools) 2017-03-10 23:17:30 +01:00
classify Fix windows build. 2017-03-22 21:21:57 +03: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 unused code. 2016-12-11 22:26:10 +01:00
dict fix --enable-visibility build (including training tools) 2017-03-10 23:17:30 +01:00
doc doc: Fix line endings 2016-12-07 17:25:24 +01: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 More clang-tidy from previous commits 2016-12-08 15:50:22 +01: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 Change tesseract parameter -psm to --psm 2016-12-07 17:12:45 +01:00
textord Fix some typos in comments (found by codespell) 2017-03-10 23:21:31 +01:00
training Rename cppan/cmake targets. 2017-02-23 20:20:05 +03: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 Simplify delete operations 2016-12-07 15:59:11 +01:00
.gitignore Add .cppan to ignore list. 2017-02-15 13:29:24 +03:00
.travis.yml Turn off macos travis build as it fails during bootstrap. 2016-10-11 17:21:52 +03:00
appveyor.yml Update appveyor.yml 2017-03-23 08:21:48 +03:00
AUTHORS AUTHORS: Add more contributors 2016-11-27 21:34:06 +01:00
autogen.sh [autogen.sh:] Improve libtoolize invocation message. 2017-03-10 11:32:35 +01:00
ChangeLog Add item to ChangeLog for options writing to stdout instead of stderr 2017-03-20 20:08:41 +00:00
CMakeLists.txt Update CMakeLists.txt 2017-03-15 01:01:13 +03:00
configure.ac opencl: Add missing TIFF library for macOS 2017-04-10 09:36:31 +02:00
CONTRIBUTING.md CONTRIBUTING.md: Fix a typo 2016-05-29 13:27:33 +03:00
COPYING Fix grammar in license file 2015-12-07 14:34:24 +01: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 install data files; small fix of INSTALL, README; removed ABOUT-NLS (NLS not used at the moment) 2012-02-05 16:25:40 +00: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 add option "make training-uninstall" 2016-11-25 09:17:48 +01:00
NEWS top-skimming import from sf.net 2007-03-07 20:03:40 +00:00
README.md Update README.md heading markdown 2017-03-21 09:29:49 +01: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.

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.