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

commonMain.net.iriscan.sdk.face.FaceExtractor.kt Maven / Gradle / Ivy

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

import net.iriscan.sdk.core.image.Image
import net.iriscan.sdk.core.image.NativeImage
import net.iriscan.sdk.face.record.FaceImageRecord

/**
 * @author Slava Gornostal
 *
 * Interface for extracting face from image or record
 */
interface FaceExtractor {
    /**
     * Detects and extracts face from biometric image record
     * */
    fun extract(record: FaceImageRecord): FaceImageRecord

    /**
     * Detects and extracts face from raw image
     * */
    fun extract(sdkImage: Image): Image?
    /**
     * Detects and extracts face from raw image
     * */
    fun extract(nativeImage: NativeImage): NativeImage?
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy