commonMain.net.iriscan.sdk.face.FaceAlgorithmProperties.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of biometric-sdk Show documentation
Show all versions of biometric-sdk Show documentation
Biometric SDK Kotlin Multiplatform library (android + ios)
package net.iriscan.sdk.face
import net.iriscan.sdk.core.io.HashMethod
/**
* @author Slava Gornostal
*/
class FaceExtractProperties
class FaceEncodeProperties(val faceNetModel: FaceNetModelConfiguration)
class FaceNetModelConfiguration(
val path: String,
val inputWidth: Int,
val inputHeight: Int,
val outputLength: Int,
val modelChecksum: String?,
val modelChecksumMethod: HashMethod?,
val overrideCacheOnWrongChecksum: Boolean?
) {
constructor(
path: String,
inputWidth: Int,
inputHeight: Int,
outputLength: Int
) : this(path, inputWidth, inputHeight, outputLength, null, null, null)
}
class FaceMatchProperties(val threshold: Double)