Age | Commit message (Collapse) | Author |
|
The previously committed thing didn't work, as listobjects was sending
to a channel synchronously, so it was never being received.
The current API isn't great, mixing synchronous and non-synchronous things,
not handling errors consistently, and generally is over complicated. That
will be fixed soon.
|
|
|
|
|
|
These were caused by using non-pointer methods, which meant that the
values set in Init() were not saved.
|
|
screwy causing segfaults
|
|
- Ensure temporary directory already being present isn't an issue
- Remove temporary directory when done with it
- Ensure any already preprocessed files aren't preprocessed themselves (this could happen in the case of a run stopping half way through)
|
|
work, remarkably
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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%).
|
|
|
|
rather than average line confidence
|
|
rather than float, for easier comparison
|
|
|
|
|
|
|
|
|
|
Surprisingly opening an image takes a significant amount of the
total processing time, so this actually saves quite a bit of time
in the grand scheme of things.
|
|
cmds as they were defined in global package space
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This uses integral image calculations, so they have been exported in the binarization package
|
|
|
|
|
|
|
|
|
|
|
|
|