The following options can be used to further configure the processing:
The following options can be used to further configure the processing:
| option | description |
| option | description |
@ -29,9 +30,7 @@ The following options can be used to further configure the processing:
| `-sp <directory>` | save cropped page image to this directory |
| `-sp <directory>` | save cropped page image to this directory |
| `-sa <directory>` | save all (plot, enhanced/binary image, layout) to this directory |
| `-sa <directory>` | save all (plot, enhanced/binary image, layout) to this directory |
If no option is set, the tool performs layout detection of main regions (background, text, images, separators and marginals).
If no option is set, the tool performs detection of main regions (background, text, images, separators and marginals).
The best output quality is produced when RGB images are used as input rather than greyscale or binarized images.
### `--full-layout` vs `--no-full-layout`
### `--full-layout` vs `--no-full-layout`
@ -49,7 +48,8 @@ Here are the difference in elements detected depending on the `--full-layout`/`-
| image region | x | x |
| image region | x | x |
## Use as OCR-D processor
## Use as OCR-D processor
Eynollah ships with a CLI interface to be used as [OCR-D](https://ocr-d.de) processor that is described in [`ocrd-tool.json`](https://github.com/qurator-spk/eynollah/tree/main/src/eynollah/ocrd-tool.json).
Eynollah ships with a CLI interface to be used as [OCR-D](https://ocr-d.de) processor that is described in