Python binding to Tesseract API
Project description
Pysseract
A Python binding to Tesseract API.
Documentation is hosted on readthedocs.
Basic usage
import pysseract
t = pysseract.Pysseract()
t.SetImageFromPath('tests/001-helloworld.png')
print(t.utf8Text)
Build
Requirements
- gcc/clang with at least c++11 support
- libtesseract, libtesseract-dev
- pybind11>=2.2
python3 setup.py test build install
Build document
pip install sphinx sphinx_rtd_theme
python3 setup.py build_sphinx
You should find the generated html under build/sphinx
.
Contribute
Look at Tesseract BaseAPI
and import those functions of interest to pymodule.cpp
.
Please write a brief description in your wrapper function like those already in pymodule.cpp
.
Reference
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pysseract-0.1.2.tar.gz
(6.6 kB
view hashes)
Built Distributions
Close
Hashes for pysseract-0.1.2-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdb127297aa848046c4c81632c2ce30921d94013cca57c35fbab2a4adbee59f2 |
|
MD5 | d9a12281d6ff4a38b52cc2a51fa83773 |
|
BLAKE2b-256 | 9bcb0dfe88310b1a132c38775509276a8612cb13dc0d3ca33530ff3b487f662d |
Close
Hashes for pysseract-0.1.2-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c15b6a15d0c56ee1a21bdda77284cc4813c1c9905fadd6b90ef74cc2b731f989 |
|
MD5 | dad2d961bfd3d9ded01fdc17e048a186 |
|
BLAKE2b-256 | 5d5193d5522abb7e024681b897e80514c3738c49d539a8ff901f6a82f55c824b |
Close
Hashes for pysseract-0.1.2-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e755bc5c17ba963abffb2569c5fd7158aeff14ef2d21d4fca4174f8bf355a115 |
|
MD5 | 0c58a2d4c1d3f010bd3dbbfce50e2cbd |
|
BLAKE2b-256 | 4a16f5b2aa3c0b5fad225c006c989565492fdb317ac9e66888c586b0cbf07b63 |
Close
Hashes for pysseract-0.1.2-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21020ff94fbacb1fa361b8e219ab4970c0caf33bf91c7e7c9c6f3030ddbb9bd5 |
|
MD5 | 0d81fe4dcf4a85ea823a1c61457cb455 |
|
BLAKE2b-256 | ff5a833e595ec919025980dbbe47b01090945f822a5c4429a805aed8fc702844 |
Close
Hashes for pysseract-0.1.2-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76d6e4844ae3a46076d80df078bdab77f9a7da04df23a5688fabcf7d7b11da84 |
|
MD5 | 97b0c97515a4487c373827b912eab766 |
|
BLAKE2b-256 | 5d2190263835f163f850c7a61fb6ef23aeca01abae6f68ac5b872a64edb7dc8f |