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.2.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for sbb_binarization-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86bf52550c6b795b70a291f5a619b7d5a8729b2839a76983be10e3aca619bc28 |
|
MD5 | 23697ebdbe88a54b831cb9cd5e9aaf0c |
|
BLAKE2b-256 | 6a55e941508f7b535eb50caa3eee1065bfcd53005aa1cdfca99132186c4d71ce |