Skip to content

Create Project

rekognition_create_project R Documentation

Creates a new Amazon Rekognition project

Description

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.

Usage

rekognition_create_project(ProjectName, Feature, AutoUpdate, Tags)

Arguments

ProjectName

[required] The name of the project to create.

Feature

Specifies feature that is being customized. If no value is provided CUSTOM_LABELS is used as a default.

AutoUpdate

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.

Tags

A set of tags (key-value pairs) that you want to attach to the project.

Value

A list with the following syntax:

list(
  ProjectArn = "string"
)

Request syntax

svc$create_project(
  ProjectName = "string",
  Feature = "CONTENT_MODERATION"|"CUSTOM_LABELS",
  AutoUpdate = "ENABLED"|"DISABLED",
  Tags = list(
    "string"
  )
)

Examples

## Not run: 
# Creates an Amazon Rekognition Custom Labels project.
svc$create_project(
  ProjectName = "my-project"
)

## End(Not run)