diff --git a/qurator/sbb_textline_detector/ocrd_cli.py b/qurator/sbb_textline_detector/ocrd_cli.py index a42027c..ea1b4e3 100644 --- a/qurator/sbb_textline_detector/ocrd_cli.py +++ b/qurator/sbb_textline_detector/ocrd_cli.py @@ -77,6 +77,7 @@ class OcrdSbbTextlineDetectorRecognize(Processor): # Create a new PAGE file from the input file pcgts = page_from_file(self.workspace.download_file(input_file)) + pcgts.set_pcGtsId(file_id) page = pcgts.get_Page() # Merge results → PAGE file