Add support for ocrd_wrap aka ocrd-skimage-*
continuous-integration/drone/push Build is failing Details

master
Gerber, Mike 4 years ago
parent c3f37d8460
commit 94a035e2cf

@ -35,6 +35,7 @@ def main(ctx):
step_for(ctx, "ocrd_olena", tags), step_for(ctx, "ocrd_olena", tags),
step_for(ctx, "ocrd_segment", tags), step_for(ctx, "ocrd_segment", tags),
step_for(ctx, "ocrd_tesserocr", tags), step_for(ctx, "ocrd_tesserocr", tags),
step_for(ctx, "ocrd_wrap", tags),
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),
{ {

@ -0,0 +1,18 @@
ARG DRONE_COMMIT="latest"
FROM quratorspk/ocrd-galley-core:$DRONE_COMMIT
ARG PIP_INSTALL="pip install --no-cache-dir"
ARG OCRD_WRAP_VERSION="0.1.4"
# Build pip installable stuff
RUN ${PIP_INSTALL} \
"ocrd_wrap == ${OCRD_WRAP_VERSION}"
# Check pip dependencies
RUN pip check
# Default command
CMD ["ocrd-preprocess-image"]

@ -1,7 +1,8 @@
How to add a processor How to add a processor
---------------------- ----------------------
* Add model download to `build` (if necessary)
* Add a Dockerfile * Add a Dockerfile
* Add to `build` * Add commands to `wrapper/qurator/ocrd_galley/cli.py`
* Add to `.drone.star` * Add to `.drone.star`
Releasing Releasing

@ -35,6 +35,11 @@ sub_images = {
"ocrd-segment-from-coco": "ocrd_segment", "ocrd-segment-from-coco": "ocrd_segment",
"ocrd-segment-repair": "ocrd_segment", "ocrd-segment-repair": "ocrd_segment",
"ocrd-segment-evaluate": "ocrd_segment", "ocrd-segment-evaluate": "ocrd_segment",
"ocrd-preprocess-image": "ocrd_wrap",
"ocrd-skimage-normalize": "ocrd_wrap",
"ocrd-skimage-denoise-raw": "ocrd_wrap",
"ocrd-skimage-binarize": "ocrd_wrap",
"ocrd-skimage-denoise": "ocrd_wrap",
} }

Loading…
Cancel
Save