I have fine-tuned a segmentation model so that it could detect custom regions. I have successfully used the Segment command in eScriptorium with the new model and it found the regions quite well.
I now need to use the kraken command-line commands to find baselines and regions in many files, so I tried the following as a test:
I screwed up porting the PageXML template to kraken 5 and the tests
didn't catch it because region typologie is in a free text field. I've
pushed a fix.
I have fine-tuned a segmentation model so that it could detect custom regions. I have successfully used the Segment command in eScriptorium with the new model and it found the regions quite well. I now need to use the kraken command-line commands to find baselines and regions in many files, so I tried the following as a test:
I am getting the following messages and then a PageXML file is created:
However, in the resulting PageXML file there are no region types, all text regions look like this:
How can I run the segmentation command including the detection of the regions?