LunaCoreConfig

data class LunaCoreConfig(val compressionQuality: Int = DEFAULT_COMPRESSION_QUALITY, val similarityThreshold: Float = DEFAULT_SIMILARITY_THRESHOLD, val livenessQuality: Float = DEFAULT_LIVENESS_QUALITY, val areDescriptorsEnabled: Boolean = DEFAULT_ARE_DESCRIPTORS_AVAILABLE) : Parcelable

Constructors

Link copied to clipboard
constructor(compressionQuality: Int = DEFAULT_COMPRESSION_QUALITY, similarityThreshold: Float = DEFAULT_SIMILARITY_THRESHOLD, livenessQuality: Float = DEFAULT_LIVENESS_QUALITY, areDescriptorsEnabled: Boolean = DEFAULT_ARE_DESCRIPTORS_AVAILABLE)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

enable only if you provided respected cnn* files (removed from ignoreAssetsPatterns)

Link copied to clipboard

Quality of the image sent to liveness. The value 0 represents the maximum compression.

Link copied to clipboard

Liveness quality.

Link copied to clipboard

Liveness similarity threshold.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)