mirror of
https://github.com/qurator-spk/sbb_textline_detection.git
synced 2025-06-14 14:20:03 +02:00
commit
15155605b2
1 changed files with 4 additions and 6 deletions
10
README.md
10
README.md
|
@ -1,23 +1,21 @@
|
||||||
# Textline Detection
|
# Textline Detection
|
||||||
|
> Detect textlines in document images
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
This tool performs printspace, region and textline detection from document image
|
This tool performs printspace, region and textline detection from document image
|
||||||
data and returns the results as PAGE-XML.
|
data and returns the results as [PAGE-XML](https://github.com/PRImA-Research-Lab/PAGE-XML).
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
`pip install .`
|
`pip install .`
|
||||||
|
|
||||||
## Models
|
## Models
|
||||||
In order to run this tool you also need trained models. You can download our pre-trained models from here:
|
In order to run this tool you also need trained models. You can download our pretrained models from here:
|
||||||
https://file.spk-berlin.de:8443/textline_detection/
|
~~https://file.spk-berlin.de:8443/textline_detection/~~
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
`sbb_textline_detector -i <image file name> -o <directory to write output xml> -m <directory of models>`
|
`sbb_textline_detector -i <image file name> -o <directory to write output xml> -m <directory of models>`
|
||||||
|
|
||||||
## Usage with OCR-D
|
## Usage with OCR-D
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
ocrd-example-binarize -I OCR-D-IMG -O OCR-D-IMG-BIN
|
ocrd-example-binarize -I OCR-D-IMG -O OCR-D-IMG-BIN
|
||||||
ocrd-sbb-textline-detector -I OCR-D-IMG-BIN -O OCR-D-SEG-LINE-SBB \
|
ocrd-sbb-textline-detector -I OCR-D-IMG-BIN -O OCR-D-SEG-LINE-SBB \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue