Package com.appliedrec.verid.core2
Interface IFaceDetection
-
- All Known Implementing Classes:
FaceDetection
public interface IFaceDetectionFace detection- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Indicates that the instance will no longer be used and can free its resources.VerIDImage<Image>createVerIDImage(IImage<?> source)CreateVerIDImagefrom an image acquired from the cameraFace[]detectFacesInImage(IImageProvider image, int limit, int options)Detect faces in image.IFaceTracking<Image>startFaceTracking()Start a face tracking session.
-
-
-
Method Detail
-
detectFacesInImage
Face[] detectFacesInImage(IImageProvider image, int limit, int options) throws VerIDCoreException
Detect faces in image.- Parameters:
image- Image in which to detect faceslimit- Limit the number of detected faces to this valueoptions- Flags- Returns:
- Array of faces
- Throws:
VerIDCoreException- if the detection fails- Since:
- 1.0.0
-
startFaceTracking
IFaceTracking<Image> startFaceTracking()
Start a face tracking session.- Returns:
- Instance of
IFaceTracking - Since:
- 1.0.0
-
close
void close()
Indicates that the instance will no longer be used and can free its resources.- Since:
- 1.0.0
-
createVerIDImage
VerIDImage<Image> createVerIDImage(IImage<?> source) throws VerIDCoreException
CreateVerIDImagefrom an image acquired from the camera- Parameters:
source- Source image- Returns:
- Image that can be used for face detection
- Throws:
VerIDCoreException- Since:
- 2.0.0
-
-