- Overview
- Adobe Sign
- Alteryx
- Amazon Comprehend
- Amazon Connect
- Amazon Rekognition
- Amazon Textract
- Box
- Release notes
- About the Box activity package
- Fix XAML After Package Update
- Project compatibility
- Setup
- Technical references
- Box Scope
- Commit Session
- Create File Version Session
- Create Upload Session
- Upload Part
- Delete Old Version
- Get Versions
- Promote Version
- Upload File Version
- Copy File
- Delete File
- Download File
- Get File Comments
- Get File Info
- Get File Info Details
- Get File Lock Info
- Lock File
- Move File
- Unlock File
- Upload File
- Copy Folder
- Create Folder
- Delete Folder
- Get Folder Info
- Get Folder Items
- Rename Folder
- Search For Content
- Execute Method
- Cognitive
- DocuSign
- Release notes
- About the DocuSign activity package
- Project compatibility
- Setup
- DocuSign Scope
- Invoke DocuSign Operation
- Create Envelope
- Create Envelope And Send
- Create Envelope From Template
- Create Envelope Recipients
- Get Document
- Get Documents
- Get Envelope
- Get Form Data
- Send Envelope
- Update Envelope
- List Attachments
- List Custom Fields
- List Documents
- List Envelope Status Changes
- List Recipients
- Create Bulk Send List
- Create Bulk Send Request
- Get Bulk Send List
- Get Bulk Send Lists
- Create Template Custom Fields
- Create Template Recipients
- Get Template
- List Templates
- Google Vision
- Jira
- Release notes
- About the Jira activity package
- Project compatibility
- Setup
- Jira Scope
- Execute Method
- Add Attachment
- Delete Attachment
- Download Attachment
- Get Attachments
- Add Comment
- Delete Comment
- Get Comments
- Create Component
- Delete Component
- Get Components
- Search Dashboards
- Create Filter
- Get Filters
- Create Issue Link
- Delete Issue Link
- Get Issue Link Types
- Get Issue Links
- Add Watcher
- Assign Issue
- Clone Issue
- Create Issue
- Delete Issue
- Get Issue
- Get Watchers
- Remove Watcher
- Search Issues Using JQL
- Transition Issue
- Update Issue
- Create Project
- Delete Project
- Get Project Types
- Get Projects
- Update Project
- Get Transitions
- Create User
- Delete User
- Find Users
- Marketo
- Microsoft Dynamics
- Microsoft Dynamics Finance and Operations
- Microsoft Translator
- Microsoft Vision
- Oracle Integration Cloud
- Oracle NetSuite
- Salesforce
- Release notes
- About the Salesforce activity package
- Project compatibility
- Setup
- Quickstart
- Salesforce Application Scope
- Create Bulk API Job
- Get Bulk API Job
- Get Bulk API Job Results
- Start or Abort Bulk API Job
- Assign File
- Download File
- Upload File
- Composite Request
- Delete Record
- Get List View Records
- Get Record
- Insert Record
- Update Record
- Upsert Record
- Execute Report
- Execute SOQL
- Format Column Names
- Format Labels And Values
- Lightning REST API Request
- Search
- SAP BAPI
- ServiceNow
- Slack
- Smartsheet
- Release notes
- About the Smartsheet activity package
- Project compatibility
- Setup
- Technical references
- Quickstart: Working With Rows
- Smartsheet Application Scope
- Attach File
- Attach URL
- Delete Attachment
- Get Attachment
- List Attachments
- Add Comment
- Delete Comment
- Get Comment
- List Discussions
- Copy Folder
- Create Folder
- Delete Folder
- Get Folder
- List Folders
- Add Group Members
- Get Group
- List Groups
- Remove Group Member
- Get Report
- List Reports
- Add Rows
- Copy Rows
- Create Discussion on Row
- Delete Rows
- Get Row
- List Rows
- Move Rows
- Update Rows
- Copy Sheet
- Create Sheet
- Create Sheet From Template
- Download Sheet
- Get Sheet
- List Sheets
- Update Sheet
- Add User
- Get User
- List Users
- Remove User
- Copy Workspace
- Create Workspace
- List Workspaces
- Import Sheet From CSV / XLSX
- Invoke Smartsheet Operation
- Search Activity
- Send Via Email
- Share Object
- SuccessFactors
- Tableau
- Twilio
- Workato
- Workday
Quickstart - Add Face
The purpose of this guide is to help you create a working sample of the Add Face activity. This working sample enables you to quickly verify the connection to your AWS account and get familiar with the activity's input/output datatypes.
By completing the steps in this guide, you'll have an automation sequence that does the following:
- Establishes a connection to your AWS account and Amazon Rekognition services via the Amazon Scope activity.
- Creates a new collection to store information about faces detected in an image via the Create Collection activity.
- Detects faces in an image and adds them to your specified collection via the Add Face activity.
- Tests the Amazon Rekognition activities' input/output properties via the For Each and Write Line activities.
Before you begin:
- Complete the Amazon Rekognition Setup steps.
- Create a new automation project.
- Open UiPath Studio.
- Under New Project, click Process (this opens a New Blank Process window).
- Enter a project Name, Location, and Description.
- Click Create.
- Install the
UiPath.Amazon.Scope.Activities and
UiPath.Amazon.Rekognition.Activities packages.
-
- In the Design ribbon, click Manage Packages (this opens the Manage Packages window).
- Under All Packages, click Go!
- In the Search bar, enter Amazon.
- Click, install
and accept the license for both the
UiPath.Amazon.Scope.Activities and
UiPath.Amazon.Rekognition.Activities.
For more information about Uipath Studio packages, see Managing Packages in the Studio Guide.
-
- Add the Amazon Scope activity to your project.
- If you don't have an existing collection to store the faces you want to add, add the Create Collection activity after the Amazon Scope activity, otherwise, proceed to step 3.
- Add the Add Face activity after the Create Collection activity (if applicable).
- Enter the
CollectionName that you want to use to store your faces.
- Recommendation: use
the same
String
variable for both the Create Collection and Add Faces activities to ensure consistency.
- Recommendation: use
the same
- Enter the ImagePath or
ImageURL of the image that contains the faces you want to add to
your collection.
- Recommendation:
create a
String
variable for your image location so that you can reuse it in other activites (e.g., Identify Faces, Compare Faces).
- Recommendation:
create a
- Enter an ImageID that
you want to assign to the image when its stored in the collection.
- Example: if your image has only one face, your ImageID could be the person's name (e.g., "Peter"). If your image has multiple faces, the ImageID is applied to all faces in the image. In this instance, your value should reflect how you want to identify the group of faces (e.g., "Peter.Paul.Mary").
- Create and enter a
Face[]
variable for your Face value.- When creating your variable, select the UiPath.Amazon.Rekognition.Models.Face[] variable type.
- To test the Add Face activity, add a For Each with a Write Line activity.
- In the TypeArgument property, select UiPath.Amazon.Rekognition.Models.Face.
- In the Values
property, enter the Face property
Face[]
variable you created in step 2 above. - In the Text property,
enter the ImageID property
String
variable you created in step 3 above. - Click Run and verify the Output window includes the face detail values you entered in the Write Line activity.
You're done!
When you're ready, try the other Quickstart guides to get more familiar with the different Amazon Rekognition activities.
To learn more about the other Amazon Rekognition activities, see the Activities page for a complete activity list and links to the activity detail pages.