commonMain.net.iriscan.sdk.face.FaceExtractor.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of biometric-sdk Show documentation
Show all versions of biometric-sdk Show documentation
Biometric SDK Kotlin Multiplatform library (android + ios)
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?
}