Re:Writing a fuzzy receipt parser in Python
by whosbein on Tuesday October 06, 2015 @01:37PM
(#10340720)
Rough summary: I generated best fit lines from the alignment of the letters. You know the lines on the receipt consist of straight-aligned letters, so you can calculate lines based on that. I then calculated the average slope of all those lines and then used that average to base the rotation calculation on.
[ Parent
| on HN ]
There are no comments on this comment yet.