# Binarization
> Binarization for document images
## Examples
## Introduction
This tool performs document image binarization using trained models. The method is based on [Calvo-Zaragoza and Gallego, 2018](https://arxiv.org/abs/1706.10241).
## 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
```sh
sbb_binarize \
--patches \
-m \
\