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 \
-m <directory with models> \
-i <image file> \
-p <set to true to let the model see the image divided into patches> \
-s <directory where the results will be saved>`
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.1.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for sbb_binarization-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ca6b78c3cf291b8ab09eb1003475fb9b6ed52c3f3b6703bc7189dd91de87f2d |
|
MD5 | 2771a8536056cc4d187004eac3f1b2c6 |
|
BLAKE2b-256 | 7f1b544d9591e05e2989c36752eb564b9433f2777e002e48535f8e7248ef89cf |