FaceDetectionRecognitionFactory

Default face detection and recognition factory

Package com.appliedrec.verid.core2

public class FaceDetectionRecognitionFactory

Implements

Constructors

FaceDetectionRecognitionFactory

Introduced in version 1.0.0

public FaceDetectionRecognitionFactory(Context, String, FaceDetectionRecognitionSettings)

Constructor

Parameters

context android.content.Context
Application context
apiSecret java.lang.String
Ver-ID API secret or {@literal null} to read the secret from the app's manifest
settings com.appliedrec.verid.core2.FaceDetectionRecognitionSettings
Settings (optional)

FaceDetectionRecognitionFactory

Introduced in version 1.0.0

public FaceDetectionRecognitionFactory(Context, String)

Constructor

Parameters

context android.content.Context
Application context
apiSecret java.lang.String
Ver-ID API secret or {@literal null} to read the secret from the app's manifest

FaceDetectionRecognitionFactory

Introduced in version 1.0.0

public FaceDetectionRecognitionFactory(Context)

Constructor

Parameters

context android.content.Context
Application context

Methods

createFaceDetection

Introduced in version 1.0.0

public createFaceDetection()

Create an instance of face detection.

Returns

com.appliedrec.verid.core2.IFaceDetection
Face detection

Throws

java.lang.Exception
if the creation fails

createFaceRecognition

Introduced in version 1.0.0

public createFaceRecognition()

Create an instance of face recognition

Returns

com.appliedrec.verid.core2.IFaceRecognition
Face recognition

Throws

java.lang.Exception
if the creation fails

getImageProcessors

Introduced in version 1.9.0

public getImageProcessors()

Returns

com.appliedrec.verid.core2.IImageProcessorService[]
Image processors used to prepare images for face detection and recognition

setImageProcessors

Introduced in version 1.9.0

public setImageProcessors(IImageProcessorService[])

Parameters

imageProcessors com.appliedrec.verid.core2.IImageProcessorService[]
Image processors that will be used to prepare images for face detection and recognition

Throws

java.lang.IllegalArgumentException
If the image processors array is null or empty