Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rekognition_create_stream_processor

Creates an Amazon Rekognition stream processor that you can use to detect and recognize faces in a streaming video


Description

Creates an Amazon Rekognition stream processor that you can use to detect and recognize faces in a streaming video.

Amazon Rekognition Video is a consumer of live video from Amazon Kinesis Video Streams. Amazon Rekognition Video sends analysis results to Amazon Kinesis Data Streams.

You provide as input a Kinesis video stream (Input) and a Kinesis data stream (Output) stream. You also specify the face recognition criteria in Settings. For example, the collection containing faces that you want to recognize. Use Name to assign an identifier for the stream processor. You use Name to manage the stream processor. For example, you can start processing the source video by calling start_stream_processor with the Name field.

After you have finished analyzing a streaming video, use stop_stream_processor to stop processing. You can delete the stream processor by calling delete_stream_processor.

Usage

rekognition_create_stream_processor(Input, Output, Name, Settings,
  RoleArn)

Arguments

Input

[required] Kinesis video stream stream that provides the source streaming video. If you are using the AWS CLI, the parameter name is StreamProcessorInput.

Output

[required] Kinesis data stream stream to which Amazon Rekognition Video puts the analysis results. If you are using the AWS CLI, the parameter name is StreamProcessorOutput.

Name

[required] An identifier you assign to the stream processor. You can use Name to manage the stream processor. For example, you can get the current status of the stream processor by calling describe_stream_processor. Name is idempotent.

Settings

[required] Face recognition input parameters to be used by the stream processor. Includes the collection to use for face recognition and the face attributes to detect.

RoleArn

[required] ARN of the IAM role that allows access to the stream processor.

Value

A list with the following syntax:

list(
  StreamProcessorArn = "string"
)

Request syntax

svc$create_stream_processor(
  Input = list(
    KinesisVideoStream = list(
      Arn = "string"
    )
  ),
  Output = list(
    KinesisDataStream = list(
      Arn = "string"
    )
  ),
  Name = "string",
  Settings = list(
    FaceSearch = list(
      CollectionId = "string",
      FaceMatchThreshold = 123.0
    )
  ),
  RoleArn = "string"
)

paws.machine.learning

Amazon Web Services Machine Learning Services

v0.1.11
Apache License (>= 2.0)
Authors
David Kretch [aut, cre], Adam Banker [aut], Amazon.com, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.