Merge branch 'master' of https://github.com/qurator-spk/sbb_textline_detector
commit
d08712533a
@ -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
|
|
||||||
```
|
|
||||||
|
|
||||||
Activate virtual environment:
|
# Installation
|
||||||
```
|
|
||||||
source venv/bin/activate
|
|
||||||
```
|
|
||||||
|
|
||||||
Upgrade pip:
|
sudo pip install .
|
||||||
```
|
|
||||||
pip install -U pip
|
# Usage
|
||||||
```
|
|
||||||
|
sbb_textline_detector -i 'image file name' -o 'directory to write output xml' -m 'directory of models'
|
||||||
|
|
||||||
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
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue