NAME
checkscan - work with a scanned check image
USAGE
checkscan -q /path/to/check.png
PARAMETERS
-i increment pixels per iteration, default is 5
-x how many iterations, default is 12 if you set the pixel increment yourself
-o crop sides when iterating, value is percent in the form 0.15 where 1 is 100%
-b path to micr database, dafaults to /usr/share/micrdb/
-D dust size, default is 20
-S spacing, default is 80
OPTIONS
-p prep
-v version
-h help
-d debug messages, default is off
USAGE EXAMPLES
checkscan -q ./t/checks_hard/hard1.png
For a hard to read check you may want to try changing iterations:
checkscan -q -x 15 -i 2 ./t/checks_hard/hard1.png
CHANGING THE ITERATIONS
The program crops from the bottom up to look for a valid micr line in the image by default the steps are something like:
70 75 80 85 90 95 100 105 110 115 120 130 140 150 160 170 180 190 200 210 220 230 240 250 300
If a valid line is found, it stops.
If you want to change the increment value and the number of steps:
checkscan -q -i 2 -x 20 ./UxxxxxxU_TxxxxxxT_xxxxxxU.png
Would make 20 steps of 2 pix diff- also stops if valid found. To see debug ..
checkscan -d -q -i 2 -x 20 ./UxxxxxxU_TxxxxxxT_xxxxxxU.png
SEE ALSO
Finance::MICR::GOCR::Check Finance::MICR::LineParser
AUTHOR
Leo Charre leocharre at cpan dot org