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-jvm Show documentation
Show all versions of biometric-sdk-jvm Show documentation
Biometric SDK Kotlin Multiplatform library (android + ios)
The newest version!
package net.iriscan.sdk.face
import net.iriscan.sdk.core.io.HashMethod
/**
* @author Slava Gornostal
*/
class FaceExtractProperties
class FaceEncodeProperties(val tfModel: 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)
class FaceLivenessDetectionProperties(
val photo: LivenessModelPhotoConfiguration?,
val position: LivenessModelPositionConfiguration?,
)
class LivenessModelPositionConfiguration(
val threshold: Double
)
class LivenessModelPhotoConfiguration(
val path: String,
val inputWidth: Int,
val inputHeight: Int,
val threshold: Double,
val modelChecksum: String?,
val modelChecksumMethod: HashMethod?,
val overrideCacheOnWrongChecksum: Boolean?
) {
constructor(
path: String,
inputWidth: Int,
inputHeight: Int,
threshold: Double
) : this(path, inputWidth, inputHeight, threshold, null, null, null)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy