# Create Collection

> `UiPath.AmazonRekognition.Activities.CreateCollection`

`UiPath.AmazonRekognition.Activities.CreateCollection`

The **Create Collection** activity uses the [Create Collection](https://docs.aws.amazon.com/rekognition/latest/dg/API_CreateCollection.html) API to store information about detected faces in a server-side container (i.e. collection). You can use the facial information that's stored in a collection to search for known faces in images.

After you create a face collection, you can use the **Add Face** activity to detect faces in an image and store the detected facial feature information in the collection. After you add faces, you can use the **Identify Face** activity to search for specific faces stored in the collection.

## Summary

### Dependencies

| Dependency | Details |
| --- | --- |
| Packages | UiPath.Amazon.Rekognition.Activities |
| Activities | [Amazon Scope](https://docs.uipath.com/activities/other/latest/legacy-integrations/amazon-rekognition-amazon-scope#amazon-scope) |

### Attributes

| Attributes | Details |
| --- | --- |
| Inputs (Variables) | `String`  Applies to property: **CollectionName** |
| Outputs (Variables) | N/A |
| API used | Amazon Rekognition - [CreateCollection](https://docs.aws.amazon.com/rekognition/latest/dg/API_CreateCollection.html) |

## Properties

The values for the following properties are specified when adding this activity to your project in UiPath Studio.

### Common

#### DisplayName

The display name of the activity.

| Attributes | Details |
| --- | --- |
| **Type** | `String` |
| **Required** | Yes |
| **Default value** | *Create Collection* |
| **Allowed values** | Enter a `String` or `String` variable. |
| **Notes** | N/A |

### Input

#### CollectionName

The name or ID of for your new collection.

 <colgroup>
  <col/>
  <col/>
 </colgroup>
 
  
     Attributes  
     Details  
  
 
 
  
    Type 
    <code>String</code> 
  
  
    Required 
     Yes  
  
  
    Default value 
     Empty  
  
  
    Allowed values 
    Enter a <code>String</code> or <code>String</code> variable. 
  
  
    Notes 
   
      
         Your collection name must be unique. If you enter a collection name that already exists in the AWS account you're connected to via the Amazon Scope activity, an error will occur. 
         There is not an activity to retrieve a list of your collection names, but you can call the ListCollections API directly using the AWS CLI or AWS SDK API. 
      

  
 

### Misc

#### Private

If selected, the values of variables and arguments are no longer logged at Verbose level.

| Attributes | Details |
| --- | --- |
| **Type** | Checkbox |
| **Required** | No |
| **Default value** | Not Selected |
| **Allowed values** | Selected or Not Selected |
| **Notes** | N/A |
