-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnStreamProcessor_FaceSearchSettingsProperty.go
34 lines (31 loc) · 1.95 KB
/
CfnStreamProcessor_FaceSearchSettingsProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package awsrekognition
// The input parameters used to recognize faces in a streaming video analyzed by a Amazon Rekognition stream processor.
//
// `FaceSearchSettings` is a request parameter for [CreateStreamProcessor](https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateStreamProcessor) . For more information, see [FaceSearchSettings](https://docs.aws.amazon.com/rekognition/latest/APIReference/API_FaceSearchSettings) .
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// faceSearchSettingsProperty := &FaceSearchSettingsProperty{
// CollectionId: jsii.String("collectionId"),
//
// // the properties below are optional
// FaceMatchThreshold: jsii.Number(123),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rekognition-streamprocessor-facesearchsettings.html
//
type CfnStreamProcessor_FaceSearchSettingsProperty struct {
// The ID of a collection that contains faces that you want to search for.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rekognition-streamprocessor-facesearchsettings.html#cfn-rekognition-streamprocessor-facesearchsettings-collectionid
//
CollectionId *string `field:"required" json:"collectionId" yaml:"collectionId"`
// Minimum face match confidence score that must be met to return a result for a recognized face.
//
// The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted, and values lower than 80 are set to 80.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rekognition-streamprocessor-facesearchsettings.html#cfn-rekognition-streamprocessor-facesearchsettings-facematchthreshold
//
FaceMatchThreshold *float64 `field:"optional" json:"faceMatchThreshold" yaml:"faceMatchThreshold"`
}