VerifyOptions

data class VerifyOptions(val faceMinWidth: Int, val faceMinHeight: Int, val faceMaxWidth: Int, val faceMaxHeight: Int, val confidence: Float)

VerifyOptions is that Face Detection will verify if the input is satisfied with the given options. Options

  • faceMinWidth: the minimum of the face width. Default is 100.

  • faceMinHeight: the minimum of the face height. Default is 100.

  • faceMaxWidth: the maximum of the face width. Default is 400.

  • faceMaxHeight: the maximum of the face height. Default is 600.

  • confidence: the confidence of the face detection result. Default is 0.95.

Constructors

Link copied to clipboard
constructor(faceMinWidth: Int, faceMinHeight: Int, faceMaxWidth: Int, faceMaxHeight: Int, confidence: Float)

Types

Link copied to clipboard
data class Builder(var faceMinWidth: Int = Int.MIN_VALUE, var faceMinHeight: Int = Int.MIN_VALUE, var faceMaxWidth: Int = Int.MAX_VALUE, var faceMaxHeight: Int = Int.MAX_VALUE, var confidence: Float = 0.95f)

VerifyOptions Builder for building the VerifyOptions

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard