ocrd.processor.builtin.dummy_processor module

class ocrd.processor.builtin.dummy_processor.DummyProcessor(*args, **kwargs)[source]

Bases: ocrd.processor.base.Processor

Bare-bones processor that copies mets:file from input group to output group.

Instantiate, but do not process. Unless list_resources or show_resource or show_help or show_version or dump_json is true, setup for processing (parsing and validating parameters, entering the workspace directory).


Process the workspace from the given :py:attr:`input_file_grp`s to the given :py:attr:`output_file_grp`s under the given :py:attr:`parameter`s.

(This contains the main functionality and needs to be overridden by subclasses.)