Package glair.vision.api
Class FaceBio
java.lang.Object
glair.vision.api.FaceBio
The FaceBio class provides methods for performing Face Biometric operations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPerform Active Liveness detection using default configuration settings.activeLiveness(ActiveLivenessParam param, VisionSettings newVisionSettings) Perform Active Liveness detection using custom configuration settings.Get access to Active Liveness Sessions related operations.match(FaceMatchParam param) Performs Face Match using default configuration settings.match(FaceMatchParam param, VisionSettings newVisionSettings) Performs Face Match using custom configuration settings.passiveLiveness(String imagePath) Perform Passive Liveness detection using default configuration settings.passiveLiveness(String imagePath, VisionSettings newVisionSettings) Perform Passive Liveness detection using custom configuration settings.Get access to Passive Liveness Sessions related operations.
-
Constructor Details
-
FaceBio
Constructs an FaceBio instance with the provided configuration.- Parameters:
config- The configuration settings to use for Face Biometric operations.
-
-
Method Details
-
activeLivenessSessions
Get access to Active Liveness Sessions related operations.- Returns:
- An instance of ActiveLivenessSessions for Active Liveness operations.
-
passiveLivenessSessions
Get access to Passive Liveness Sessions related operations.- Returns:
- An instance of PassiveLivenessSessions for Passive Liveness operations.
-
match
Performs Face Match using default configuration settings.- Parameters:
param- The FaceMatchParam object representing the candidate and stored faces.- Returns:
- The Face Match result.
- Throws:
Exception- If an error occurs during the detection process.
-
match
Performs Face Match using custom configuration settings.- Parameters:
param- The FaceMatchParam object representing the candidate and stored faces.newVisionSettings- The custom vision settings to use.- Returns:
- The Face Match result.
- Throws:
Exception- If an error occurs during the detection process.
-
passiveLiveness
Perform Passive Liveness detection using default configuration settings.- Parameters:
imagePath- The path to the image file.- Returns:
- The result of Passive Liveness detection.
- Throws:
Exception- If an error occurs during the detection process.
-
passiveLiveness
Perform Passive Liveness detection using custom configuration settings.- Parameters:
imagePath- The path to the image file.newVisionSettings- The custom vision settings to use.- Returns:
- The result of Passive Liveness detection.
- Throws:
Exception- If an error occurs during the detection process.
-
activeLiveness
Perform Active Liveness detection using default configuration settings.- Parameters:
param- The ActiveLivenessParam object representing the image and gesture code.- Returns:
- The result of Active Liveness detection.
- Throws:
Exception- If an error occurs during the detection process.
-
activeLiveness
public String activeLiveness(ActiveLivenessParam param, VisionSettings newVisionSettings) throws Exception Perform Active Liveness detection using custom configuration settings.- Parameters:
param- The ActiveLivenessParam object representing the image and gesture code.newVisionSettings- The custom vision settings to use.- Returns:
- The result of Active Liveness detection.
- Throws:
Exception- If an error occurs during the detection process.
-