mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-08 22:29:56 +02:00
🚧 ocrd-galley: Add basic support for ocrd_anybaseocr
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
8b42a5376a
commit
21ec588348
3 changed files with 23 additions and 1 deletions
|
@ -39,6 +39,7 @@ def main(ctx):
|
||||||
step_for(ctx, "sbb_binarization", tags),
|
step_for(ctx, "sbb_binarization", tags),
|
||||||
step_for(ctx, "sbb_textline_detector", tags),
|
step_for(ctx, "sbb_textline_detector", tags),
|
||||||
step_for(ctx, "eynollah", tags),
|
step_for(ctx, "eynollah", tags),
|
||||||
|
step_for(ctx, "ocrd_anybaseocr", tags),
|
||||||
{
|
{
|
||||||
"name": "notify",
|
"name": "notify",
|
||||||
"image": "drillster/drone-email",
|
"image": "drillster/drone-email",
|
||||||
|
|
19
Dockerfile-ocrd_anybaseocr
Normal file
19
Dockerfile-ocrd_anybaseocr
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
ARG DRONE_COMMIT="latest"
|
||||||
|
FROM quratorspk/ocrd-galley-core-cuda10.1:$DRONE_COMMIT
|
||||||
|
|
||||||
|
ARG PIP_INSTALL="pip install --no-cache-dir"
|
||||||
|
ARG OCRD_ANYBASEOCR_VERSION="1.5.0"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Build pip installable stuff
|
||||||
|
RUN ${PIP_INSTALL} \
|
||||||
|
"ocrd_anybaseocr == ${OCRD_ANYBASEOCR_VERSION}"
|
||||||
|
|
||||||
|
|
||||||
|
# Check pip dependencies
|
||||||
|
RUN pip check
|
||||||
|
|
||||||
|
|
||||||
|
# Default command
|
||||||
|
CMD ["ocrd-anybaseocr-crop"]
|
|
@ -40,7 +40,9 @@ sub_images = {
|
||||||
"ocrd-skimage-denoise-raw": "ocrd_wrap",
|
"ocrd-skimage-denoise-raw": "ocrd_wrap",
|
||||||
"ocrd-skimage-binarize": "ocrd_wrap",
|
"ocrd-skimage-binarize": "ocrd_wrap",
|
||||||
"ocrd-skimage-denoise": "ocrd_wrap",
|
"ocrd-skimage-denoise": "ocrd_wrap",
|
||||||
"ocrd-eynollah-segment": "eynollah"
|
"ocrd-eynollah-segment": "eynollah",
|
||||||
|
"ocrd-anybaseocr-crop": "ocrd_anybaseocr",
|
||||||
|
"ocrd-anybaseocr-deskew": "ocrd_anybaseocr",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue