Implement basic Leptonica orientation checking
Improve orientation test case
Add pixConvertTo1 since orientation tests require 1 bpp images
Teach Python’s garbage collector to destroy pix objects for us
Add orient check, tweak error handling
Tidy up PEP8
Implement orthogonal rotation
Ignore more binary files and *.pyc, etc
Add pixFlipLR and mirror detection
More Lept mirror changes
Don’t error out when no confidence in measurement
Error trap: add verbose
Add thresholding functions to deal with varying backgrounds
makeOrientDecision: don’t need result
Remove args.mirror check
Stop using pixConvertTo1 because it’s not that useful
Remove pixBackgroundNormSimple — unused/not needed
Prefer stderr output
Minor cleanup/comments
Fix file handle leak