create

fun create(compressionQuality: Int = DEFAULT_COMPRESSION_QUALITY, similarityThreshold: Float = DEFAULT_SIMILARITY_THRESHOLD, livenessQuality: Float = DEFAULT_LIVENESS_QUALITY, areDescriptorsEnabled: Boolean = DEFAULT_ARE_DESCRIPTORS_AVAILABLE): LunaCoreConfig

Create config with given parameters and validate it.

Parameters

compressionQuality

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

similarityThreshold

Liveness similarity threshold.

livenessQuality

Liveness quality.

ocrEnabled

Ocr enabled.