Closed stefanCCS closed 1 year ago
Looked a bit by myself:
It looks like that the id
attribute does not allow :
.
In my example I have replaced it with _
-> works ok.
The categories
mapping uses :
to separate region class from region @type
. This is used as-is for generating the region_id
. https://github.com/bertsky/ocrd_detectron2/pull/17 might fix that, haven't tested it yet.
checked #17 --> works fine !
Sorry, did not see this earlier. @kba was right, but #17 is not how I'd like to do it. Fix is on master.
Tried out
ocrd-detectron2-segment
and got a non-correct PAGE. Model used: "DocBank_X101" Preset used:presets_DocBank_X101.json
This is the PAGE file: OCR-D-DETECTRON2-DocBank_X101_00001.zipXSD-Validation-Result using xml-validator-xsd