mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/ocr.git
synced 2024-12-27 11:14:17 +00:00
Compare commits
2 Commits
613bceb4ff
...
104598039e
Author | SHA1 | Date | |
---|---|---|---|
|
104598039e | ||
|
da29659a9b |
@ -1,7 +1,7 @@
|
|||||||
FROM debian:buster-slim
|
FROM debian:buster-slim
|
||||||
|
|
||||||
|
|
||||||
LABEL authors="Patrick Jentsch <p.jentsch@uni-bielefeld.de>"
|
LABEL authors="Patrick Jentsch <p.jentsch@uni-bielefeld.de>, Stephan Porada <porada@posteo.de>"
|
||||||
|
|
||||||
|
|
||||||
ENV LANG=C.UTF-8
|
ENV LANG=C.UTF-8
|
||||||
@ -91,12 +91,12 @@ RUN apt-get install --no-install-recommends --yes \
|
|||||||
&& pip install natsort
|
&& pip install natsort
|
||||||
|
|
||||||
|
|
||||||
RUN rm -r /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
|
|
||||||
## Install Pipeline ##
|
## Install Pipeline ##
|
||||||
COPY hocrtotei ocr /usr/local/bin/
|
COPY hocrtotei ocr /usr/local/bin/
|
||||||
|
|
||||||
|
|
||||||
|
RUN rm -r /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|
||||||
ENTRYPOINT ["ocr"]
|
ENTRYPOINT ["ocr"]
|
||||||
CMD ["--help"]
|
CMD ["--help"]
|
||||||
|
3
ocr
3
ocr
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
"""An OCR pipeline for PDF file processing."""
|
"""An OCR pipeline for PDF file processing."""
|
||||||
|
|
||||||
__author__ = 'Patrick Jentsch <p.jentsch@uni-bielefeld.de>'
|
__author__ = 'Patrick Jentsch <p.jentsch@uni-bielefeld.de>,' \
|
||||||
|
'Stephan Porada <porada@posteo.de>'
|
||||||
__version__ = '1.0.0'
|
__version__ = '1.0.0'
|
||||||
|
|
||||||
from argparse import ArgumentParser
|
from argparse import ArgumentParser
|
||||||
|
Loading…
Reference in New Issue
Block a user