FaceSearchSettingsProperty Struct
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 . For more information, see FaceSearchSettings .
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rekognition as rekognition } from 'aws-cdk-lib';
const faceSearchSettingsProperty: rekognition.CfnStreamProcessor.FaceSearchSettingsProperty = {
collectionId: 'collectionId',
// the properties below are optional
faceMatchThreshold: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_rekognition as rekognition
face_search_settings_property = rekognition.CfnStreamProcessor.FaceSearchSettingsProperty(
collection_id="collectionId",
# the properties below are optional
face_match_threshold=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.rekognition.*;
FaceSearchSettingsProperty faceSearchSettingsProperty = FaceSearchSettingsProperty.builder()
.collectionId("collectionId")
// the properties below are optional
.faceMatchThreshold(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 faceSearchSettingsProperty = new FaceSearchSettingsProperty {
CollectionId = "collectionId",
// the properties below are optional
FaceMatchThreshold = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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),
}
Properties
collectionIdstringcollection_idstrcollectionIdStringCollectionIdstringCollectionId*string required #The ID of a collection that contains faces that you want to search for.
faceMatchThresholdoptionalnumberface_match_thresholdoptionalint | floatfaceMatchThresholdoptionalNumberFaceMatchThresholdoptionaldoubleFaceMatchThresholdoptional*float64 #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.