Filestack\Filelink::detectFaces
Set this Filelink's transform_url to include the detect_faces task
Signature
public function detectFaces([string
$color = 'dimgray',
[boolean
$export = false,
[float
$min_size = 0.35,
[float
$max_size = 0.35]]]] )
Parameters
$color
—
string
- Will change the color of the "face object"
boxes and text. This can be the word for a color,
or the hex color code, e.g. ('red' or 'FF0000')
$export
—
boolean
- Set to true to export all face objects to a JSON.
$min_size
—
float
$max_size
—
float
Returns
- Filestack/Filelink
Errors/Exceptions
-
FilestackException
- if API call fails, e.g 404 file not found
Test Coverage
Information
- Coverage: / Lines (%)
- Tests: 0
- Passed: 0 (0%)