Package com.appliedrec.verid.core2.util
Class FaceDetectionUtilities
- java.lang.Object
-
- com.appliedrec.verid.core2.util.BaseVerIDUtility
-
- com.appliedrec.verid.core2.util.FaceDetectionUtilities
-
public class FaceDetectionUtilities extends BaseVerIDUtility
Face detection utilities- Since:
- 2.6.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecognizableFace[]
detectRecognizableFacesInImage(IImageProvider image, int limit)
Detect faces and create face recognition templatesvoid
detectRecognizableFacesInImage(IImageProvider image, int limit, ResultCallback<RecognizableFace[],VerIDCoreException> callback)
Detect faces and create face recognition templatesRecognizableFace[]
detectRecognizableFacesInImage(IImageProvider image, int limit, java.util.Set<VerIDFaceTemplateVersion> faceTemplateVersions)
Detect faces and create face recognition templatesvoid
detectRecognizableFacesInImage(IImageProvider image, int limit, java.util.Set<VerIDFaceTemplateVersion> faceTemplateVersions, ResultCallback<RecognizableFace[],VerIDCoreException> callback)
Detect faces and create face recognition templates-
Methods inherited from class com.appliedrec.verid.core2.util.BaseVerIDUtility
runInBackground
-
-
-
-
Method Detail
-
detectRecognizableFacesInImage
public void detectRecognizableFacesInImage(IImageProvider image, int limit, java.util.Set<VerIDFaceTemplateVersion> faceTemplateVersions, ResultCallback<RecognizableFace[],VerIDCoreException> callback)
Detect faces and create face recognition templates- Parameters:
image
- Image in which to detect faceslimit
- Maximum number of faces to detectfaceTemplateVersions
- Versions of face templates to extractcallback
- Callback- Since:
- 2.6.0
-
detectRecognizableFacesInImage
public void detectRecognizableFacesInImage(IImageProvider image, int limit, ResultCallback<RecognizableFace[],VerIDCoreException> callback)
Detect faces and create face recognition templatesNote: All available face template versions will be extracted. If you require a subset please use
detectRecognizableFacesInImage(IImageProvider, int, Set, ResultCallback)
- Parameters:
image
- Image in which to detect faceslimit
- Maximum number of faces to detectcallback
- Callback- Since:
- 2.6.0
-
detectRecognizableFacesInImage
@WorkerThread public RecognizableFace[] detectRecognizableFacesInImage(IImageProvider image, int limit, java.util.Set<VerIDFaceTemplateVersion> faceTemplateVersions) throws VerIDCoreException
Detect faces and create face recognition templatesWarning: This method must be called on a worker thread
- Parameters:
image
- Image in which to detect faceslimit
- Maximum number of faces to detectfaceTemplateVersions
- Versions of face templates to extract- Returns:
- Faces that can be used for face recognition
- Throws:
VerIDCoreException
- Since:
- 2.6.0
-
detectRecognizableFacesInImage
@WorkerThread public RecognizableFace[] detectRecognizableFacesInImage(IImageProvider image, int limit) throws VerIDCoreException
Detect faces and create face recognition templatesNote: All available face template versions will be extracted. If you require a subset please use
detectRecognizableFacesInImage(IImageProvider, int, Set)
Warning: This method must be called on a worker thread
- Parameters:
image
- Image in which to detect faceslimit
- Maximum number of faces to detect- Returns:
- Faces that can be used for face recognition
- Throws:
VerIDCoreException
- Since:
- 2.6.0
-
-