Skip to main content

Toolkit for advanced OCR of poor quality documents

Project description

pero-ocr

Running stuff

Scripts (as well as tests) assume that it is possible to import pero_ocr and its components.

For the current shell session, this can be achieved by setting PYTHONPATH up:

export PYTHONPATH=/path/to/the/repo:$PYTHONPATH

As a more permanent solution, a very simplistic setup.py is prepared:

python setup.py develop

Beware that the setup.py does NOT check for dependencies in the current version.

Pero can be later removed from your Python distribution by running:

python setup.py develop --uninstall

Developing

Working changes are expected to happen on develop branch, so if you plan to contribute, you better check it out right during cloning:

git clone -b develop git@github.com:DCGM/pero-ocr.git pero-ocr

Testing

Currently, only unittests are provided with the code. Some of the code. So simply run your preferred test runner, e.g.:

~/pero-ocr $ green

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pero-ocr, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size pero_ocr-0.1.1-py3-none-any.whl (49.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pero-ocr-0.1.1.tar.gz (42.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page