https://github.com/ocr-d/ocrd_calamari
Recognize text using Calamari OCR and the OCR-D framework
https://github.com/ocr-d/ocrd_calamari
calamari-ocr ocr ocr-d
Last synced: about 1 year ago
JSON representation
Recognize text using Calamari OCR and the OCR-D framework
- Host: GitHub
- URL: https://github.com/ocr-d/ocrd_calamari
- Owner: OCR-D
- License: gpl-3.0
- Created: 2018-07-23T13:34:19.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-04-03T10:21:46.000Z (about 1 year ago)
- Last Synced: 2025-04-03T11:29:51.549Z (about 1 year ago)
- Topics: calamari-ocr, ocr, ocr-d
- Language: Python
- Homepage:
- Size: 1.17 MB
- Stars: 14
- Watchers: 5
- Forks: 6
- Open Issues: 19
-
Metadata Files:
- Readme: README-DEV.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Testing
-------
In a Python 3 virtualenv:
```
pip install -e .
pip install -r requirements-dev.txt
make test
```
Releasing
---------
* Update `ocrd-tool.json` version (the `setup.py` version is read from this)
* `git add` the `ocrd-tool.json` file and `git commit -m 'v'`
* `git tag -m 'v' 'v'`
* `git push; git push --tags`
* Wait and check if tests on CircleCI are OK
* Do a release on GitHub
### Uploading to PyPI
* `rm -rf dist/` or backup if `dist/` exists already
* In the virtualenv: `python setup.py sdist bdist_wheel`
* `twine upload dist/ocrd_calamari-*`
How to use pre-commit
---------------------
This project optionally uses [pre-commit](https://pre-commit.com) to check commits. To use it:
- Install pre-commit, e.g. `pip install -r requirements-dev.txt`
- Install the repo-local git hooks: `pre-commit install`