This commit is contained in:
b-vr103 2019-12-05 16:49:27 +01:00
commit d08712533a

View file

@ -1,37 +1,24 @@
# Textline-Recognition # Textline-Recognition
*** ***
# Tool
This tool does textline detection of image and throw result as xml data.
# Installation: # Models
In order to run this tool you need corresponding models. You can find them here:
Setup virtual environment: https://file.spk-berlin.de:8443/textline_detection/
```
virtualenv --python=python3.6 venv # Installation
```
sudo pip install .
# Usage
sbb_textline_detector -i 'image file name' -o 'directory to write output xml' -m 'directory of models'
Activate virtual environment:
```
source venv/bin/activate
```
Upgrade pip:
```
pip install -U pip
```
Install package together with its dependencies in development mode:
```
pip install -e ./
```
***
Perform document structure and textline analysis on a
scanned document image and save the result as PAGE XML.
### Usage
```
text_line_recognition --help
```