The /image/facedetect Robot
We offer computer vision as a service, so you don't have to run your own AI models or install complicated software.
/image/facedetect Robot detects faces in images and returns their coordinates, or cuts them from the original images and returns those as new images.
||(required) String / Array of Strings||
GeneralSpecifies which Step(s) to use as the input to this Robot.
Special Step namesA special Step name is
Providing several Steps as inputYou can add arrays to
Step bundlingSome Robots can gather several Step results for a single invocation. For example, the /file/compress Robot would normally create one Zip file for each file passed to it. If you'd set
This is a crucial parameter for the /video/adaptive Robot, otherwise you'll generate 1 playlist for each viewing quality.
Keep in mind that all input Steps must be present in your Template. If one of them is missing, no result is generated because the Robot waits indefinitely for all input Steps to be finished.
Group by originalSticking with the /file/compress Robot example, you can set
DemoSee a demo for the
||Determine if the detected faces should be extracted. If this option is set to
||Specifies how much padding is added to the extracted face images if
||Determines the output format of the extracted face images if
||Specifies the miminum confidence that a detected face must have. Only faces which have a higher confidence value than this threshold will be included in the result.|
||String / Integer||
||Determines which of the detected faces should be returned. Valid values are:
- any integer: The faces are sorted by their top-left corner and the integer determines the index of the returned face. Be aware the values are zero-indexed, meaning that
For following examples, the input image is:
Our /image/facedetect Robot can be used in combination with other Robots, to create powerful workflows unique to your use case. Here are a few example scenarios that you can try live on our website:
Blog posts about the /image/facedetect Robot
We wrote the following posts about the /image/facedetect Robot on our blog:
- Adding support for image face detection February 5, 2016
Did you know?
You can easily combine Robots to create powerful workflows, unique to your business.
This is the power of Transloadit.