Pixelwise binarization with selectional auto-encoders in Keras
Project description
Binarization
Binarization for document images
Introduction
This tool performs document image binarization (i.e. transform colour/grayscale to black-and-white pixels) for OCR using multiple trained models.
Installation
Clone the repository, enter it and run
pip install .
Models
Pre-trained models can be downloaded from here:
https://qurator-data.de/sbb_binarization/
Usage
sbb_binarize \
--patches \
-m <directory with models> \
<input image> \
<output image>
Note In virtually all cases, the --patches
flag will improve results.
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
sbb_binarization-0.0.3.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for sbb_binarization-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d60eb19f309a905b942c5aa2b071b5f6b4fa18830e9ea87ae0fedb03a74d4a74 |
|
MD5 | 056aa3cc6ef6efadb4433d10c6915c3a |
|
BLAKE2b-256 | 6bb9b121e38ca30cd0c95703e9182dbdbb887c92cbaa1a4af5df3992a84184aa |