summaryrefslogtreecommitdiff
path: root/preproc/wipesides.go
AgeCommit message (Collapse)Author
2019-10-08Continue separating the repository; remove all but preproc, and move ↵Nick White
integralimg package under it
2019-10-02gofmtNick White
2019-10-02Add wipeonly queue and functionalityNick White
This is useful for prebinarised images, which don't need full preprocessing, but do require wiping, albeit with a more conservative threshold.
2019-09-27Improve wiping procedure to work better with 2 column layoutsNick White
2019-06-03Add -m option to wipe to set minimum content area for wipe to proceedNick White
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%).
2019-05-14gofmtNick White
2019-05-13Use general integralimg functions for wipe functionsNick White
2019-05-13Reorganise image manipulation to separate integral image partsNick White
Also unify everything else under preproc/ Note that the UsefulImg interface should be used by the main functions, to simplify things, but this hasn't been done yet.
2019-05-13Start switching preproc to use interfaces moreNick White
2019-05-13Rename cleanup to wipe, and only export main functionNick White
2019-05-13Rename cleanup package to preproc, and add basic cmd versionNick White