Package-level declarations
Types
This is the API Reference for Amazon Rekognition Image, Amazon Rekognition Custom Labels, Amazon Rekognition Stored Video, Amazon Rekognition Streaming Video. It provides descriptions of actions, data types, common parameters, and common errors.
Functions
Associates one or more faces with an existing UserID. Takes an array of FaceIds
. Each FaceId
that are present in the FaceIds
list is associated with the provided UserID. The maximum number of total FaceIds
per UserID is 100.
Compares a face in the source input image with each of the 100 largest faces detected in the target input image.
This operation applies only to Amazon Rekognition Custom Labels.
Creates a collection in an AWS Region. You can add faces to the collection using the IndexFaces operation.
This operation applies only to Amazon Rekognition Custom Labels.
This API operation initiates a Face Liveness session. It returns a SessionId
, which you can use to start streaming Face Liveness video and get the results for a Face Liveness session.
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.
Creates a new version of Amazon Rekognition project (like a Custom Labels model or a custom adapter) and begins training. Models and adapters are managed as part of a Rekognition project. The response from CreateProjectVersion
is an Amazon Resource Name (ARN) for the project version.
Creates an Amazon Rekognition stream processor that you can use to detect and recognize faces or to detect labels in a streaming video.
Creates a new User within a collection specified by CollectionId
. Takes UserId
as a parameter, which is a user provided ID which should be unique within the collection. The provided UserId
will alias the system generated UUID to make the UserId
more user friendly.
Deletes the specified collection. Note that this operation removes all faces in the collection. For an example, see Deleting a collection.
This operation applies only to Amazon Rekognition Custom Labels.
Deletes faces from a collection. You specify a collection ID and an array of face IDs to remove from the collection.
Deletes a Amazon Rekognition project. To delete a project you must first delete all models or adapters associated with the project. To delete a model or adapter, see DeleteProjectVersion.
This operation applies only to Amazon Rekognition Custom Labels.
Deletes a Rekognition project model or project version, like a Amazon Rekognition Custom Labels model or a custom adapter.
Deletes the stream processor identified by Name
. You assign the value for Name
when you create the stream processor with CreateStreamProcessor. You might not be able to use the same name for a stream processor for a few seconds after calling DeleteStreamProcessor
.
Deletes the specified UserID within the collection. Faces that are associated with the UserID are disassociated from the UserID before deleting the specified UserID. If the specified Collection
or UserID
is already deleted or not found, a ResourceNotFoundException
will be thrown. If the action is successful with a 200 response, an empty HTTP body is returned.
Describes the specified collection. You can use DescribeCollection
to get information, such as the number of faces indexed into a collection and the version of the model used by the collection for face detection.
This operation applies only to Amazon Rekognition Custom Labels.
Gets information about your Rekognition projects.
Lists and describes the versions of an Amazon Rekognition project. You can specify up to 10 model or adapter versions in ProjectVersionArns
. If you don't specify a value, descriptions for all model/adapter versions in the project are returned.
Provides information about a stream processor created by CreateStreamProcessor. You can get information about the input and output streams, the input parameters for the face recognition being performed, and the current status of the stream processor.
This operation applies only to Amazon Rekognition Custom Labels.
Detects faces within an image that is provided as input.
Detects instances of real-world entities within an image (JPEG or PNG) provided as input. This includes objects like flower, tree, and table; events like wedding, graduation, and birthday party; and concepts like landscape, evening, and nature.
Detects unsafe content in a specified JPEG or PNG format image. Use DetectModerationLabels
to moderate images depending on your requirements. For example, you might want to filter images that contain nudity, but not images containing suggestive content.
Detects Personal Protective Equipment (PPE) worn by people detected in an image. Amazon Rekognition can detect the following types of PPE.
Detects text in the input image and converts it into machine-readable text.
Removes the association between a Face
supplied in an array of FaceIds
and the User. If the User is not present already, then a ResourceNotFound
exception is thrown. If successful, an array of faces that are disassociated from the User is returned. If a given face is already disassociated from the given UserID, it will be ignored and not be returned in the response. If a given face is already associated with a different User or not found in the collection it will be returned as part of UnsuccessfulDisassociations
. You can remove 1 - 100 face IDs from a user at one time.
This operation applies only to Amazon Rekognition Custom Labels.
Gets the name and additional information about a celebrity based on their Amazon Rekognition ID. The additional information is returned as an array of URLs. If there is no additional information about the celebrity, this list is empty.
Gets the celebrity recognition results for a Amazon Rekognition Video analysis started by StartCelebrityRecognition.
Gets the inappropriate, unwanted, or offensive content analysis results for a Amazon Rekognition Video analysis started by StartContentModeration. For a list of moderation labels in Amazon Rekognition, see Using the image and video moderation APIs.
Gets face detection results for a Amazon Rekognition Video analysis started by StartFaceDetection.
Retrieves the results of a specific Face Liveness session. It requires the sessionId
as input, which was created using CreateFaceLivenessSession
. Returns the corresponding Face Liveness confidence score, a reference image that includes a face bounding box, and audit images that also contain face bounding boxes. The Face Liveness confidence score ranges from 0 to 100.
Gets the face search results for Amazon Rekognition Video face search started by StartFaceSearch. The search returns faces in a collection that match the faces of persons detected in a video. It also includes the time(s) that faces are matched in the video.
Gets the label detection results of a Amazon Rekognition Video analysis started by StartLabelDetection.
Retrieves the results for a given media analysis job. Takes a JobId
returned by StartMediaAnalysisJob.
Gets the path tracking results of a Amazon Rekognition Video analysis started by StartPersonTracking.
Gets the segment detection results of a Amazon Rekognition Video analysis started by StartSegmentDetection.
Gets the text detection results of a Amazon Rekognition Video analysis started by StartTextDetection.
Detects faces in the input image and adds them to the specified collection.
Returns list of collection IDs in your account. If the result is truncated, the response also provides a NextToken
that you can use in the subsequent request to fetch the next set of collection IDs.
This operation applies only to Amazon Rekognition Custom Labels.
This operation applies only to Amazon Rekognition Custom Labels.
Returns metadata for faces in the specified collection. This metadata includes information such as the bounding box coordinates, the confidence (that the bounding box contains a face), and face ID. For an example, see Listing Faces in a Collection in the Amazon Rekognition Developer Guide.
Returns a list of media analysis jobs. Results are sorted by CreationTimestamp
in descending order.
This operation applies only to Amazon Rekognition Custom Labels.
Gets a list of stream processors that you have created with CreateStreamProcessor.
Returns a list of tags in an Amazon Rekognition collection, stream processor, or Custom Labels model.
Returns metadata of the User such as UserID
in the specified collection. Anonymous User (to reserve faces without any identity) is not returned as part of this request. The results are sorted by system generated primary key ID. If the response is truncated, NextToken
is returned in the response that can be used in the subsequent request to retrieve the next set of identities.
This operation applies only to Amazon Rekognition Custom Labels.
Returns an array of celebrities recognized in the input image. For more information, see Recognizing celebrities in the Amazon Rekognition Developer Guide.
For a given input face ID, searches for matching faces in the collection the face belongs to. You get a face ID when you add a face to the collection using the IndexFaces operation. The operation compares the features of the input face with faces in the specified collection.
For a given input image, first detects the largest face in the image, and then searches the specified collection for matching faces. The operation compares the features of the input face with faces in the specified collection.
Searches for UserIDs within a collection based on a FaceId
or UserId
. This API can be used to find the closest UserID (with a highest similarity) to associate a face. The request must be provided with either FaceId
or UserId
. The operation returns an array of UserID that match the FaceId
or UserId
, ordered by similarity score with the highest similarity first.
Searches for UserIDs using a supplied image. It first detects the largest face in the image, and then searches a specified collection for matching UserIDs.
Starts asynchronous recognition of celebrities in a stored video.
Starts asynchronous detection of inappropriate, unwanted, or offensive content in a stored video. For a list of moderation labels in Amazon Rekognition, see Using the image and video moderation APIs.
Starts asynchronous detection of faces in a stored video.
Starts the asynchronous search for faces in a collection that match the faces of persons detected in a stored video.
Starts asynchronous detection of labels in a stored video.
Initiates a new media analysis job. Accepts a manifest file in an Amazon S3 bucket. The output is a manifest file and a summary of the manifest stored in the Amazon S3 bucket.
Starts the asynchronous tracking of a person's path in a stored video.
This operation applies only to Amazon Rekognition Custom Labels.
Starts asynchronous detection of segment detection in a stored video.
Starts processing a stream processor. You create a stream processor by calling CreateStreamProcessor. To tell StartStreamProcessor
which stream processor to start, use the value of the Name
field specified in the call to CreateStreamProcessor
.
Starts asynchronous detection of text in a stored video.
This operation applies only to Amazon Rekognition Custom Labels.
Stops a running stream processor that was created by CreateStreamProcessor.
Adds one or more key-value tags to an Amazon Rekognition collection, stream processor, or Custom Labels model. For more information, see Tagging AWS Resources.
Removes one or more tags from an Amazon Rekognition collection, stream processor, or Custom Labels model.
This operation applies only to Amazon Rekognition Custom Labels.
Allows you to update a stream processor. You can change some settings and regions of interest and delete certain parameters.
Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.