Class CfnStreamProcessor.ConnectedHomeSettingsProperty
Connected home settings to use on a streaming video.
Inheritance
Namespace: Amazon.CDK.AWS.Rekognition
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ConnectedHomeSettingsProperty : Object, CfnStreamProcessor.IConnectedHomeSettingsProperty
Syntax (vb)
Public Class ConnectedHomeSettingsProperty
Inherits Object
Implements CfnStreamProcessor.IConnectedHomeSettingsProperty
Remarks
Defining the settings is required in the request parameter for CreateStreamProcessor
. Including this setting in the CreateStreamProcessor request lets you use the stream processor for connected home features. 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. An end-of-session summary is also published. For more information, see the ConnectedHome section of StreamProcessorSettings .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Rekognition;
var connectedHomeSettingsProperty = new ConnectedHomeSettingsProperty {
Labels = new [] { "labels" },
// the properties below are optional
MinConfidence = 123
};
Synopsis
Constructors
ConnectedHomeSettingsProperty() |
Properties
Labels | Specifies what you want to detect in the video, such as people, packages, or pets. |
MinConfidence | The minimum confidence required to label an object in the video. |
Constructors
ConnectedHomeSettingsProperty()
public ConnectedHomeSettingsProperty()
Properties
Labels
Specifies what you want to detect in the video, such as people, packages, or pets.
public string[] Labels { get; set; }
Property Value
System.String[]
Remarks
The current valid labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".
MinConfidence
The minimum confidence required to label an object in the video.
public Nullable<double> MinConfidence { get; set; }
Property Value
System.Nullable<System.Double>