Skip to content

Processors: support iterating over multiple input_file_grp #568

Description

@kba

@bertsky in OCR-D/ocrd_segment#41 (comment)
Yes, [ocrd_segment.import_image_segmentation.zip_input_files] in combination with a loop over these file tuples instead of Processor.input_files. I have first seen that recipe in @finkf's ocrd-cis-align, then re-used it for ocrd-cor-asv-ann-evaluate and others. Would be great if this entered core (including error messages when some pages don't have files for all input fileGrps etc)...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions