Module Description
This module uses a few techniques, like face detection or entropy-based measure, to calculate the focal point of an image in order to provide a better "scale and crop" action.

Unlike other similar modules, Image Focus works with any image toolkit (both GD and Image Magick) and does not require any extra user input.

(The download is quite large because there are pattern data for face detection.)

Installation
Enable this module, replace 'imagecache_scale_and_crop' with 'image_focus_scale_and_crop' action in the preset edit page.

Known problems

* The Face Detection algorithm implementation in PHP is very slow and might cause timeout. Please see the README file and test carefully.
* Only one face could be detected. It results in a wrong focal point when there is multiple faces. Two solutions: either improve the algorithm implementation or do not use it (by setting the maxsize threshold = 0, see README).

Project Usage
947
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the problem of calculating the focal point of an image for better scaling and cropping, using techniques like face detection and entropy-based measure, without requiring extra user input and working with any image toolkit.
Data Name
image_focus

OPENAI CHATBOT

OPENAI CHATBOT

14:35:38
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.