@@ -228,14 +228,25 @@ ocrd-cis-ocropy-resegment \
228
228
229
229
Available parameters are:
230
230
``` sh
231
- " dpi" [number - -1]
231
+ " level-of-operation" [string - " page" ]
232
+ PAGE XML hierarchy level to segment textlines in (' region' abides by
233
+ existing text region boundaries, ' page' optimises lines in the whole
234
+ page once
235
+ Possible values: [" page" , " region" ]
236
+ " method" [string - " lineest" ]
237
+ source for new line polygon candidates (' lineest' for line
238
+ estimation, i.e. how Ocropy would have segmented text lines;
239
+ ' baseline' tries to re-polygonize from the baseline annotation;
240
+ ' ccomps' avoids crossing connected components by majority rule)
241
+ Possible values: [" lineest" , " baseline" , " ccomps" ]
242
+ " dpi" [number - 0]
232
243
pixel density in dots per inch (overrides any meta-data in the
233
- images); disabled when negative
234
- " min_fraction" [number - 0.8]
235
- share of foreground pixels that must be retained by the largest label
244
+ images); disabled when zero or negative
245
+ " min_fraction" [number - 0.75]
246
+ share of foreground pixels that must be retained by the output
247
+ polygons
236
248
" extend_margins" [number - 3]
237
- number of pixels to extend the input polygons horizontally and
238
- vertically before intersecting
249
+ number of pixels to extend the input polygons in all directions
239
250
` ` `
240
251
241
252
# ## ocrd-cis-ocropy-segment
0 commit comments