diff options
author | Nick White <git@njw.name> | 2019-06-03 10:54:02 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2019-06-03 10:54:02 +0100 |
commit | 20b694ee8510692804908f51fbbee3c39c859f37 (patch) | |
tree | 106a1354022f1f4ad8983799a88a26dd0f665969 /lib/hocr/hocr.go | |
parent | d7f07893d08d9c29f46e50c4f779b0e701f411e4 (diff) |
Add -m option to wipe to set minimum content area for wipe to proceed
If content is very light or sparse it may be better to not wipe at all
than wipe almost all of the content leaving a small strip. This is done
now by aborting the wipe if the detected content takes up less than the
minimum % of the page (default is 30%).
Diffstat (limited to 'lib/hocr/hocr.go')
0 files changed, 0 insertions, 0 deletions