kiniry / straightener

Automatically exported from code.google.com/p/straightener

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cropping gone wild

GoogleCodeExporter opened this issue · comments

Here's a more extreme example of over-cropping:

$ python straightener.py test4.jpg
Expected output: test4-unrotated.jpg would look very much like test4.jpg 
(possibly slightly rotated)
Actuall output: yikes, almost all of the image has been deleted

Original issue reported on code.google.com by goo...@web.dwdw.me on 10 Feb 2012 at 9:07

Attachments:

Fixed for the example you've provided (not sure about the general case). The 
final cropping step was something I put in at the last minute and it's 
extremely naive, so I would expect some issues to surface.

Original comment by imotyas...@berkeley.edu on 10 Feb 2012 at 9:56

  • Changed state: Started
  • Added labels: ****
  • Removed labels: ****