globocom/thumbor — Issue #78: Issue with smart cropping (face detection)
Author: lboaretto
Created: 2012-02-25 17:13:46+00:00
State: open

The smart cropping does not return expected

URL: http://localhost:8888/unsafe/180x120/smart/http://s.glbimg.com/jo/eg/f/original/2012/02/25/jessica5.jpg

Cropped image and debug mode, respectively: http://imgur.com/a/MsBAd

Meta: {"thumbor": {"operations": [{"top": 267.5, "right": 637, "type": "crop", "bottom": 692.5, "left": 0}, {"width": 180.0, "type": "resize", "height": 120.0}], "source": {"url": "http://s.glbimg.com/jo/eg/f/original/2012/02/25/jessica5.jpg", "width": 637, "height": 960}, "focal_points": [{"origin": "alignment", "height": 1, "width": 1, "y": 480.0, "x": 318.5, "z": 1.0}], "target": {"width": 180.0, "height": 120.0}}}

What im doing wrong?

Python 2.6.7 on FreeBSD 8
OpenCV 2.3.1
Thumbor 2.6.4