🚧 ocrd-galley: Add basic support for ocrd_anybaseocr
continuous-integration/drone/push Build is failing Details

master
Gerber, Mike 4 years ago
parent 8b42a5376a
commit 21ec588348

@ -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",

@ -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…
Cancel
Save