Skip to content

Commit

Permalink
document usage with docker hub deployed images, fix OCR-D#33
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Jan 6, 2020
1 parent b992c3d commit 4de98ba
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# OCR-D/ocrd_all

[![Built on CircleCI](https://circleci.com/gh/OCR-D/ocrd_all.svg?style=svg)](https://circleci.com/gh/OCR-D/ocrd_all)
[![MIT licensed](https://img.shields.io/github/license/OCR-D/ocrd_all)](https://github.com/OCR-D/ocrd_all/blob/master/LICENSE)

This controls installation of all OCR-D modules from source (as git submodules).

It includes a Makefile for their installation into a virtual environment (venv) or Docker container.
Expand Down Expand Up @@ -35,6 +38,7 @@ in the current shell environment via PATH and PYTHONHOME.)
* [Examples](#examples)
* [Results](#results)
* [Persistent configuration](#persistent-configuration)
* [Docker Hub](#docker-hub)
* [Challenges](#challenges)
* [No published/recent version on PyPI](#no-publishedrecent-version-on-pypi)
* [Conflicting requirements](#conflicting-requirements)
Expand Down Expand Up @@ -271,6 +275,52 @@ Note: When `local.mk` exists, variables can still be overridden on the command l
but not from the shell environment
(i.e. `OCRD_MODULES= make all` will still use the value from local.mk).

### Docker Hub

The project is available as prebuilt Docker images from [Docker Hub as
`ocrd/all`](https://hub.docker.com/r/ocrd/all). You can choose from three tags,
`minimum`, `medium` and `maximum`. These differ in which modules are included,
with `maximum` being the equivalent of doing `make all`. To download the images
on the command line:

```sh
docker pull ocrd/all:minimum
# or
docker pull ocrd/all:medium
# or
docker pull ocrd/all:maximum
```

Usage is the same [as if you had built the image yourself](#results).

This table lists which tag contains which module:

| Module | `minimum` | `medium` | `maximum` |
| ----- | ---- | ---- | ---- |
| core | ☑ | ☑ | ☑ |
| ocrd_cis | ☑ | ☑ | ☑ |
| ocrd_im6convert | ☑ | ☑ | ☑ |
| ocrd_repair_inconsistencies | ☑ | ☑ | ☑ |
| ocrd_tesserocr | ☑ | ☑ | ☑ |
| tesserocr | ☑ | ☑ | ☑ |
| workflow-configuration | ☑ | ☑ | ☑ |
| cor-asv-ann | - | ☑ | ☑ |
| dinglehopper | - | ☑ | ☑ |
| format-converters | - | ☑ | ☑ |
| ocrd_calamari | - | ☑ | ☑ |
| ocrd_keraslm | - | ☑ | ☑ |
| ocrd_olena | - | ☑ | ☑ |
| ocrd_segment | - | ☑ | ☑ |
| tesseract | - | ☑ | ☑ |
| ocrd_anybaseocr | - | - | ☑ |
| ocrd_kraken | - | - | ☑ |
| ocrd_ocropy | - | - | ☑ |
| ocrd_pc_segmentation | - | - | ☑ |
| ocrd_typegroups_classifier | - | - | ☑ |
| sbb_textline_detector | - | - | ☑ |
| cor-asv-fst | - | - | ☑ |


## Challenges

This repo offers solutions to the following problems with OCR-D integration.
Expand Down

0 comments on commit 4de98ba

Please sign in to comment.