Class: Aws::Rekognition::Types::StreamProcessorSettings

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb

Overview

Note:

When making an API call, you may pass StreamProcessorSettings data as a hash:

{
  face_search: {
    collection_id: "CollectionId",
    face_match_threshold: 1.0,
  },
  connected_home: {
    labels: ["ConnectedHomeLabel"], # required
    min_confidence: 1.0,
  },
}

Input parameters used in a streaming video analyzed by a Amazon Rekognition stream processor. You can use FaceSearch to recognize faces in a streaming video, or you can use ConnectedHome to detect labels.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#connected_homeTypes::ConnectedHomeSettings

Label detection settings to use on a streaming video. Defining the settings is required in the request parameter for CreateStreamProcessor. Including this setting in the CreateStreamProcessor request enables you to use the stream processor for label detection. You can then select what you want the stream processor to detect, such as people or pets. When the stream processor has started, one notification is sent for each object class specified. For example, if packages and pets are selected, one SNS notification is published the first time a package is detected and one SNS notification is published the first time a pet is detected, as well as an end-of-session summary.



6703
6704
6705
6706
6707
6708
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 6703

class StreamProcessorSettings < Struct.new(
  :face_search,
  :connected_home)
  SENSITIVE = []
  include Aws::Structure
end

#face_searchTypes::FaceSearchSettings

Face search settings to use on a streaming video.



6703
6704
6705
6706
6707
6708
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 6703

class StreamProcessorSettings < Struct.new(
  :face_search,
  :connected_home)
  SENSITIVE = []
  include Aws::Structure
end