All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.rekognition.kotlin.outputs.StreamProcessorFaceSearchSettings.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.rekognition.kotlin.outputs

import kotlin.Double
import kotlin.String
import kotlin.Suppress

/**
 * Face search settings to use on a streaming video. Note that either FaceSearchSettings or ConnectedHomeSettings should be set. Not both
 * @property collectionId The ID of a collection that contains faces that you want to search for.
 * @property faceMatchThreshold Minimum face match confidence score percentage 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.
 */
public data class StreamProcessorFaceSearchSettings(
    public val collectionId: String,
    public val faceMatchThreshold: Double? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.rekognition.outputs.StreamProcessorFaceSearchSettings): StreamProcessorFaceSearchSettings = StreamProcessorFaceSearchSettings(
            collectionId = javaType.collectionId(),
            faceMatchThreshold = javaType.faceMatchThreshold().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy