Face Detection Activity
The Face Detection activity identifies human faces within image files and retrieves data including face rectangles, landmarks, and attributes. It integrates with Microsoft Cognitive Services to provide detailed facial analysis and unique identifiers for automated processing workflows.
| Field | Description | Requirement |
|---|---|---|
| Ocp Apim Subscription Key | The unique API key provided by Microsoft Azure for the Face service. | Required |
| Endpoint | The specific Microsoft Face API URL associated with the Azure resource. | Required |
| Image Url | The public URL address of the image file to be analyzed. | Required |
| Response variable name | The name of the variable where the HTTP response data will be stored. | Required |
Action Types & Examples
Face Analysis
- Format: string (JSON)
- Example Result: "[{"faceId": "c5c24a8a-cc3d-4e30-b466-211d9a133301", "faceRectangle": {"top": 131, "left": 177, "width": 162, "height": 162}}]"
Implementation Examples
Field Setup - Ocp Apim Subscription Key: 2dfc034684a3434fb3270534c5efdc66 - Endpoint: https://yourapiurl.cognitiveservices.azure.com/
Execution Parameters - Image Url: http://example.com/images/test.jpg - Response variable name: getResponse
Technical Notes
This activity utilizes the Microsoft Cognitive Services Face API. For comprehensive technical details regarding face detection features, including faceIds, landmarks, and attributes, refer to the official Microsoft Azure documentation.