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.4.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for sbb_binarization-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db416621752886a8889c8cc28704b0ee6d0039fb933525387f70a2405b4df5a3 |
|
MD5 | 3056cdc0ac2af14b2e2c0b60b1236e47 |
|
BLAKE2b-256 | 897eae00d33697fa4ef0c94339d7f3e21a8c330660a71780a2d7a323d880522b |