No description
Find a file
Clemens Neudecker 7e4bcd0534
Update README.md
2020-09-16 22:10:47 +02:00
sbb_binarize update binarization tool 2019-12-10 12:48:08 +01:00
.gitkeep Add new directory, you can find corresponding models in qurator-data 2019-08-23 15:47:32 +02:00
LICENSE Add LICENSE 2019-12-10 16:40:44 +01:00
make.sh Add new file 2019-08-23 15:50:09 +02:00
README.md Update README.md 2020-09-16 22:10:47 +02:00
setup.py Update setup.py 2019-08-23 15:49:35 +02:00

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
./make

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>