2021-04-13 17:38:02 +02:00
{
2022-02-02 12:05:06 +01:00
"version" : "0.0.11" ,
2021-04-13 17:38:02 +02:00
"git_url" : "https://github.com/qurator-spk/eynollah" ,
"tools" : {
"ocrd-eynollah-segment" : {
"executable" : "ocrd-eynollah-segment" ,
"categories" : [ "Layout analysis" ] ,
"description" : "Segment page into regions and lines and do reading order detection with eynollah" ,
"input_file_grp" : [ "OCR-D-IMG" , "OCR-D-SEG-PAGE" , "OCR-D-GT-SEG-PAGE" ] ,
"output_file_grp" : [ "OCR-D-SEG-LINE" ] ,
"steps" : [ "layout/segmentation/region" , "layout/segmentation/line" ] ,
"parameters" : {
"models" : {
"type" : "string" ,
"format" : "file" ,
2022-01-30 16:08:44 +01:00
"content-type" : "text/directory" ,
2021-04-13 17:38:02 +02:00
"cacheable" : true ,
"description" : "Path to directory containing models to be used (See https://qurator-data.de/eynollah)" ,
"required" : true
} ,
"dpi" : {
"type" : "number" ,
"format" : "float" ,
2021-04-14 17:31:57 +02:00
"description" : "pixel density in dots per inch (overrides any meta-data in the images); ignored if <= 0 (with fall-back 230)" ,
"default" : 0
2021-04-13 17:38:02 +02:00
} ,
"full_layout" : {
"type" : "boolean" ,
"default" : true ,
2021-04-14 17:31:57 +02:00
"description" : "Try to detect all element subtypes, including drop-caps and headings"
2021-04-13 17:38:02 +02:00
} ,
"curved_line" : {
"type" : "boolean" ,
"default" : false ,
2021-04-14 17:31:57 +02:00
"description" : "try to return contour of textlines instead of just rectangle bounding box. Needs more processing time"
2021-04-13 17:38:02 +02:00
} ,
"allow_scaling" : {
"type" : "boolean" ,
"default" : false ,
2021-04-21 10:55:28 +02:00
"description" : "check the resolution against the number of detected columns and if needed, scale the image up or down during layout detection (heuristic to improve quality and performance)"
2021-04-13 17:38:02 +02:00
} ,
"headers_off" : {
"type" : "boolean" ,
"default" : false ,
2021-04-14 17:31:57 +02:00
"description" : "ignore the special role of headings during reading order detection"
2021-04-13 17:38:02 +02:00
}
}
}
}
}