News for hackers. Stuff that matters.
Re:Ask HN: Trying to Extract Roll Call Votes of Cambridge Ci... by dagw on Wednesday October 07, 2015 @04:40AM (#10344852)
Of course this code breaks if the scan isn't straight.
Re:Ask HN: Trying to Extract Roll Call Votes of Cambridge Ci... by semiquaver on Wednesday October 07, 2015 @04:46PM (#10348969)
You're already using imagemagick's `convert` in that script - there's also `textcleaner -u`[1] which among other things automatically straightens slightly crooked text in scans (less than 5 degrees).

[1] http://www.fmwconcepts.com/imagemagick/textcleaner/