Filter: classifai_should_smart_crop_image
Filters whether to apply smart cropping to the current image.
Parameters
Name | Type | Description |
---|---|---|
$should_smart_crop | bool | Whether to apply smart cropping. The default value is set in ComputerVision settings. |
$metadata | array | Image metadata. |
$attachment_id | int | The attachment ID. |
Since
- 1.5.0
Source
Defined in includes/Classifai/Providers/Azure/ComputerVision.php
at line 375
Returns
Whether to apply smart cropping.