exporting segment images (including results from preprocessing like cropping/masking, deskewing, dewarping or binarization) along with polygon coordinates and metadata:
post-processing or repairing layout segmentations:
ocrd-segment-repair (validity and consistency of all coordinates; also, for regions, reduce overlaps/redundancy between neighbours, and/or simplify polygons, and/or shrink to the alpha shape of foreground contours)
ocrd-segment-project (remake segment coordinates into the concave hull / alpha shape of their constituents)
ocrd-segment-replace-page (2 input fileGrps; overwrite segmentation below page of first fileGrp by all segments of second fileGrp, rebasing all coordinates; "inverse" of replace-original)
ocrd-segment-replace-text (insert text below page from single-segment text files; "inverse" of extract-*)
comparing different layout segmentations:
ocrd-segment-evaluate :construction: (2 input fileGrps; align, compare and evaluate page segmentations; early stage)
pattern-based segmentation (input file groups N=1, based on a PAGE template, e.g. from Aletheia, and some XSLT or Python to apply it to the input file group)
For detailed behaviour, see --help on each processor CLI.
For detailed description on input/output and parameters, see ocrd-tool.json or --dump-json on each processor CLI.
Requires libgeos-dev library for building shapely binary requirement, see Shapely Installation from source. Please ensure it's available before trying to install local requirements.