You are here

function focal_point_get_smartcrop_focal_point in Focal Point 7

Callback function.

Used by modules implementing hook_focal_point_default_method_info().

See also

image_focus_focal_point_default_method_info()

smartcrop_focal_point_default_method_info()

1 string reference to 'focal_point_get_smartcrop_focal_point'
smartcrop_focal_point_default_method_info in ./focal_point.module
Implements hook_focal_point_default_method_info().

File

./focal_point.module, line 869

Code

function focal_point_get_smartcrop_focal_point($image) {
  module_load_include('inc', 'focal_point', 'focal_point.smartcrop');
  return focal_point_smartcrop_estimation($image);
}