Rekognition / Client / create_project

create_project#

Rekognition.Client.create_project(**kwargs)#

Creates a new Amazon Rekognition project. A project is a group of resources (datasets, model versions) that you use to create and manage a Amazon Rekognition Custom Labels Model or custom adapter. You can specify a feature to create the project with, if no feature is specified then Custom Labels is used by default. For adapters, you can also choose whether or not to have the project auto update by using the AutoUpdate argument. This operation requires permissions to perform the rekognition:CreateProject action.

See also: AWS API Documentation

Request Syntax

response = client.create_project(
    ProjectName='string',
    Feature='CONTENT_MODERATION'|'CUSTOM_LABELS',
    AutoUpdate='ENABLED'|'DISABLED'
)
Parameters:
  • ProjectName (string) –

    [REQUIRED]

    The name of the project to create.

  • Feature (string) – Specifies feature that is being customized. If no value is provided CUSTOM_LABELS is used as a default.

  • AutoUpdate (string) – Specifies whether automatic retraining should be attempted for the versions of the project. Automatic retraining is done as a best effort. Required argument for Content Moderation. Applicable only to adapters.

Return type:

dict

Returns:

Response Syntax

{
    'ProjectArn': 'string'
}

Response Structure

  • (dict) –

    • ProjectArn (string) –

      The Amazon Resource Name (ARN) of the new project. You can use the ARN to configure IAM access to the project.

Exceptions