All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.net.iriscan.sdk.iris.IrisEncoder.kt Maven / Gradle / Ivy

There is a newer version: 0.6.0
Show newest version
package net.iriscan.sdk.iris

import net.iriscan.sdk.core.image.Image
import net.iriscan.sdk.core.io.DataBytes
import net.iriscan.sdk.core.record.BiometricRecord

/**
 * @author Slava Gornostal
 *
 * Interface for generating template from image with biometric
 */
interface IrisEncoder {
    /**
     * Encodes provided extracted record to biometric template record
     * */
    fun encode(sample: BiometricRecord): BiometricRecord

    /**
     * Extracts and encodes provided image to iris template
     * */
    fun extractAndEncode(sample: BiometricRecord): DataBytes

    /**
     * Encodes provided extracted image to iris template
     * */
    fun encode(sample: Image): DataBytes

    /**
     * Extracts and encodes provided image to iris template
     * */
    fun extractAndEncode(sample: Image): DataBytes?
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy