mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/ocr.git
synced 2024-12-26 18:14:18 +00:00
fix image tag
This commit is contained in:
parent
e1b78b6ba4
commit
8a3816121c
@ -14,7 +14,7 @@ This software implements a heavily parallelized pipeline to recognize text in PD
|
|||||||
|
|
||||||
1. Install Docker and Python 3.
|
1. Install Docker and Python 3.
|
||||||
2. Clone this repository: `git clone https://gitlab.ub.uni-bielefeld.de/sfb1288inf/ocr.git`
|
2. Clone this repository: `git clone https://gitlab.ub.uni-bielefeld.de/sfb1288inf/ocr.git`
|
||||||
2. Build the Docker image: `docker build -t gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/ocr:0.1.0 ocr`
|
2. Build the Docker image: `docker build -t gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/ocr:v0.1.0 ocr`
|
||||||
2. Add the wrapper script (`wrapper/ocr` relative to this README file) to your `${PATH}`.
|
2. Add the wrapper script (`wrapper/ocr` relative to this README file) to your `${PATH}`.
|
||||||
3. Create working directories for the pipeline: `mkdir -p /<my_data_location>/{input,models,output}`.
|
3. Create working directories for the pipeline: `mkdir -p /<my_data_location>/{input,models,output}`.
|
||||||
4. Place your Tesseract OCR model(s) inside `/<my_data_location>/models`.
|
4. Place your Tesseract OCR model(s) inside `/<my_data_location>/models`.
|
||||||
|
@ -6,7 +6,7 @@ import os
|
|||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
CONTAINER_IMAGE = 'gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/ocr:0.1.0'
|
CONTAINER_IMAGE = 'gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/ocr:v0.1.0'
|
||||||
CONTAINER_INPUT_DIR = '/input'
|
CONTAINER_INPUT_DIR = '/input'
|
||||||
CONTAINER_OUTPUT_DIR = '/output'
|
CONTAINER_OUTPUT_DIR = '/output'
|
||||||
CONTAINER_MODELS_DIR = '/usr/local/share/tessdata'
|
CONTAINER_MODELS_DIR = '/usr/local/share/tessdata'
|
||||||
|
Loading…
Reference in New Issue
Block a user