Instructions to use SBB/sbb_binarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use SBB/sbb_binarization with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy) # See https://github.com/keras-team/tf-keras for more details. from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("SBB/sbb_binarization") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,14 +7,14 @@ license: apache-2.0
|
|
| 7 |
|
| 8 |
This is a CNN model for document image binarization. It can be
|
| 9 |
used to convert all pixels in a color or grayscale document image
|
| 10 |
-
to only black or white pixels. The main
|
| 11 |
contrast between foreground (text) and background (paper) for
|
| 12 |
purposes of OCR. The model is based on a `ResNet50-Unet` model.
|
| 13 |
|
| 14 |
# Results
|
| 15 |
In the *DocEng’2021 Time-Quality Binarization Competition*
|
| 16 |
([paper](https://dib.cin.ufpe.br/docs/DocEng21_bin_competition_report.pdf)),
|
| 17 |
-
the model ranked 12 times under the top 8 of 63 methods
|
| 18 |
|
| 19 |
In the *ICDAR 2021 Competition on Time-Quality Document Image
|
| 20 |
Binarization* ([paper](https://dib.cin.ufpe.br/docs/papers/ICDAR2021-TQDIB_final_published.pdf)),
|
|
|
|
| 7 |
|
| 8 |
This is a CNN model for document image binarization. It can be
|
| 9 |
used to convert all pixels in a color or grayscale document image
|
| 10 |
+
to only black or white pixels. The main aim is to improve the
|
| 11 |
contrast between foreground (text) and background (paper) for
|
| 12 |
purposes of OCR. The model is based on a `ResNet50-Unet` model.
|
| 13 |
|
| 14 |
# Results
|
| 15 |
In the *DocEng’2021 Time-Quality Binarization Competition*
|
| 16 |
([paper](https://dib.cin.ufpe.br/docs/DocEng21_bin_competition_report.pdf)),
|
| 17 |
+
the model ranked 12 times under the top 8 of 63 methods, winning 2 tasks.
|
| 18 |
|
| 19 |
In the *ICDAR 2021 Competition on Time-Quality Document Image
|
| 20 |
Binarization* ([paper](https://dib.cin.ufpe.br/docs/papers/ICDAR2021-TQDIB_final_published.pdf)),
|