Package glair.vision.model.param
Class ActiveLivenessParam
java.lang.Object
glair.vision.model.param.ActiveLivenessParam
A record representing parameters for Active Liveness detection.
-
Constructor Summary
ConstructorsConstructorDescriptionActiveLivenessParam(String imagePath, GestureCode gestureCode) Constructs an ActiveLivenessParam object with the specified image path and gesture code. -
Method Summary
Modifier and TypeMethodDescriptionGets the gesture code associated with the ActiveLivenessParam.Gets the image path associated with the ActiveLivenessParam.toString()Returns a JSON representation of the ActiveLivenessParam.
-
Constructor Details
-
ActiveLivenessParam
Constructs an ActiveLivenessParam object with the specified image path and gesture code.- Parameters:
imagePath- The file path of the image to be processed.gestureCode- The gesture code associated with the image.
-
-
Method Details
-
getImagePath
Gets the image path associated with the ActiveLivenessParam.- Returns:
- The file path of the image.
-
getGestureCode
Gets the gesture code associated with the ActiveLivenessParam.- Returns:
- The gesture code.
-
toString
Returns a JSON representation of the ActiveLivenessParam.
-