Face Recognition activity

An activity that finds one or more human faces in an image and gets face rectangles in the image with information such as age, gender, pose, smile, facial hair, and glasses.


Face Recognition activity

Configure the Face Recognition activity

To configure the Face Recognition activity, do the procedure in this topic.

Good to Know

  • ​​To send an e-mail notification, click Advanced Advanced icon > E-mail Notifications E-mail Notifications icon.

    For more information, refer to Configure E-mail Notifications for Any Activity.

  • In most text fields, you can use process data variables as an alternative to literal data values.
  • You can configure whether this activity waits for other activities before it runs.

    For more information, refer to How Do I Configure an Activity to Wait for Other Incoming Activities?

  • Documentation for Integrations with Third-Party, External, or Open Source Technologies

    The highest priority for AgilePoint NX Product Documentation is accuracy. Whenever feasible, AgilePoint provides input details, business rules, or example values for third-party integrations. These can include any technology that is not native to AgilePoint NX, such as Salesforce, Active Directory, or REST. However this information is subject to change without notice to AgilePoint. Because we can not guarantee the accuracy of this information, the details provided for third-party product input values, as well as examples for third-party product integrations, are limited in the AgilePoint documentation. It is the responsibility of third-party vendors to provide documentation related to these aspects of their software and services.

    For examples of use case implementations or configuration field input values for third-party products, AgilePoint recommends these resources:

    • AgilePoint Community Forums - An AgilePoint-moderated, crowd-sourcing user forum where you can ask questions about specific techniques, the solutions to use cases, workarounds, or other topics that may not be covered in the Product Documentation.
    • Professional Services - If you can not find the information you need for your specific business problem, mentoring is available through AgilePoint Professional Services.
    • Personalized Training - AgilePoint can provide personalized training for your organization. To request personalized training, contact AgilePoint Sales.
    • Third-Party Vendor Documentation - Whenever feasible, AgilePoint provides links to third-party vendor documentation.

      This does not include technology standards or protocols, such as JavaScript, REST, or FTP. Resources for these technical standards are publicly available on the Internet.

How to Start

  1. On the Application Explorer screen, do one of these:
  2. Do one of these:
    • Add an activity:
      1. In the Process Builder, in the Activity Library, open the Cognitive Services Cognitive Services icon tab.
      2. On the Cognitive Services Cognitive Services icon tab, drag the Face Recognition Face Recognition icon activity onto your process.
    • Change an activity:
      1. In your process, double-click your activity.

General Configuration

Specifies the basic settings for the Face Recognition activity.

Figure: General Configuration screen

General Configuration screen

Fields

Field Name Definition

Display Name

Function:
Specifies the activity name that shows in your process.
Accepted Values:
One line of text that can have spaces.
Default Value:
None
Accepts Process Data Variables:
No
Example:
Refer to:

Description

Function:
Specifies an optional text description for your activity.
Accepted Values:
More than one line of text.
Default Value:
None
Accepts Process Data Variables:
No

Source Repository

Specifies the original, or source, location type for your files.

Figure: Source Repository screen

Source Repository screen

Fields

Field Name Definition

Amazon S3 Amazon S3 icon

Function:
Specifies that Amazon S3 is your document source location.

To select your file in the source location, complete the fields on Source Repository Configuration (Amazon S3) - Face Recognition.

Box Box icon

Function:
Specifies that Box is your document source location.

To select your file in the source location, complete the fields on Source Repository Configuration (Box) - Face Recognition.

Dropbox Dropbox icon

Function:
Specifies that Dropbox is your document source location.

To select your file in the source location, complete the fields on Source Repository Configuration (Dropbox) - Face Recognition.

FTP FTP icon

Function:
Specifies that FTP is your document source location.

To select your file in the source location, complete the fields on Source Repository Configuration (FTP) - Face Recognition.

Google Drive Google Drive icon

Function:
Specifies that Google Drive is your document source location.

To select your file in the source location, complete the fields on Source Repository Configuration (Google Drive) - Face Recognition.

NetSuite NetSuite icon

Function:
Specifies that NetSuite is your document source location.

To select your file in the source location, complete the fields on Source Repository Configuration (NetSuite) - Face Recognition.

OneDrive OneDrive icon

Function:
Specifies that OneDrive is your document source location.

To select your file in the source location, complete the fields on Source Repository Configuration (OneDrive) - Face Recognition.

OneDrive For Business OneDrive For Business icon

Function:
Specifies that OneDrive for Business is your document source location.

To select your file in the source location, complete the fields on Source Repository Configuration (OneDrive For Business) - Face Recognition.

Salesforce Salesforce icon

Function:
Specifies that Salesforce is your document source location.

To select your file in the source location, complete the fields on Source Repository Configuration (Salesforce) - Face Recognition.

SFTP SFTP icon

Function:
Specifies that SFTP is your document source location.

To select your file in the source location, complete the fields on Source Repository Configuration (SFTP) - Face Recognition.

SharePoint SharePoint icon

Function:
Specifies that SharePoint is your document source location.

To select your file in the source location, complete the fields on Source Repository Configuration (SharePoint) - Face Recognition.

File System File System icon

Function:
Specifies that the file system on the AgilePoint Server machine is the data source for the file.

To select your file in the source location, complete the fields on Source Repository Configuration (File System) - Face Recognition.

Face Recognition Configuration screen

Configures an operation to find faces on images.

Figure: Face Recognition Configuration screen

Face Recognition Configuration screen

Fields

Field Name Definition

Cognitive Services

Function:
Specifies the access token that connects to your Microsoft Cognitive Services.
Accepted Values:
A list of access tokens configured for your environment.

The selected access token must have the Cognitive Service Type configured for Face API.

Default Value:
None

Add Token Add Token icon

Opens this Screen:
Access Token for Microsoft Cognitive Services
Function of this Screen:
Configure an access token to connect to Microsoft Cognitive Services.

Map Response to AgilePoint Schema

Function:
Specifies the connection from the Microsoft Cognitive Services API response parameter to your schema.
Accepted Values:
Click the Schema Mapping Schema Mapping icon button to open the Schema Mapper.

Use this screen to connect the response to the data model for your process.

Default Value:
None

Store the Response in Custom Attribute

Function:
Specifies the process data variable that stores the responses from the Microsoft Face Recognition service.
Accepted Values:
A process data variable that accepts a text string in JSON format.
Default Value:
None
Accepts Process Data Variables:
Yes
Example:
[{"FaceAttributes":{"Accessories":[],"Age":43,"Blur":{"BlurLevel":0,"Value":0.12},"Emotion":{"Anger":0,"Contempt":0,"Disgust":0,"Fear":0,"Happiness":1,"Neutral":0,"Sadness":0,"Surprise":0},…}]