Active
Project:
Smart Crop
Version:
7.x-1.0-beta2
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Sep 2010 at 19:07 UTC
Updated:
28 May 2015 at 00:50 UTC
Jump to comment: Most recent
Thank you for the module, it looks promising.
It would be great to have a more detailed description of smart crop algorithm and some image examples on the module page.
I've tested a bit (results are attached). Any hints to further improve thumbnails?
| Comment | File | Size | Author |
|---|---|---|---|
| smart-crop-test.jpg | 99.07 KB | ankheg |
Comments
Comment #1
grendzy commentedAgreed that some samples for the project page would be nice. With regard to improving the output, the entropy calculation itself is fairly straightforward and so I'm not sure there's much room for tuning.
I would like to add another action for face-detection. However the most promising library I've seen ( http://www.xarg.org/project/php-facedetect/ ) requires a PHP extension, which I suspect would be an obstacle for a lot of users.
This algorithm is definitely *not* a replacement for face-detection, but on average I hope it will perform better than simply centering the crop.
Here are some samples that dman put together:

Comment #2
gooddesignusa commentedsubscribing
Comment #3
bryancasler commentedsubscribing
Comment #4
bryancasler commentedFace detection would make this a must have. How hard would it be to implement the suggestion in #1?
Comment #5
grendzy commentedanimelion: don't think writing the module would be too difficult; I'm just concerned it would have limited appeal because of the need to install OpenCV and the PHP facedetect extension (which means shared and even many VPS hosts would be unable to use it).
We can continue the discussion here: #910142: Implement face-detection
Comment #6
seaji commentedvery nice
Comment #7
kolier commentedUseful module.
Very good
Comment #8
Ciprian Oancia commented+
Comment #9
betovargsubscribing
Comment #10
vosechu commentedYou're such an alarmingly smart man Grendzy.
Comment #11
jurriaanroelofs commentedHere's the algorythm in PHP:
https://github.com/felixkoch/PHP-FaceDetector/blob/master/FaceDetector.php
Comment #12
ebieymjunior commentedImage Focus Crop uses this php implementation: php-facedetection
Would it be possible to add face recognition as an extra feature for those who have the required setup?
Comment #13
ebieymjunior commentedComment #14
yixia commentedsubscribing