Microsoft Computer Vision- Face Detection

FaceDetection

This activity is used to detect faces within an image.

Important Point: Click on the following images to get full screen view.

How to use the activity

Drag a MicrosoftVisionScope dropzone activity from the MicrosoftComputerVision package and drop it on the canvas. Enter the Service URL and Subscription Key in the Property window. DisplayName will be auto populated for all activities.

Note: Append the version of MicrosoftVisionScope activity in the Service URL.

Drag and drop a FaceDetection activity inside the MicrosoftVisionScope dropzone. Specify the local ImagePath to detect the face. Create a variable under the Output header in the Result field.

fd

Figure 1

Drag and drop a WriteLog activity from the NotificationAutomation package. Provide the InputString and set the LogLevel. Execute.

FD

Figure 2

Provided input is as follows:

MT

Figure 3 

The following example demonstrates the JSON response returned for an image containing a single human face as seen above.

OP

Figure 3.1

For two faces, it will display the corresponding JSON response.

2     output

Figure 4                                                                             Figure 4.1        

Release date
Version
V5.0.1