Package com.appliedrec.verid.core2
Class FaceDetectionRecognitionSettings
- java.lang.Object
-
- com.appliedrec.verid.core2.FaceDetectionRecognitionSettings
-
public class FaceDetectionRecognitionSettings extends java.lang.Object
Settings for low-level face detection and recognition library- Since:
- 1.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FaceDetectionRecognitionSettings.LogLevel
-
Constructor Summary
Constructors Constructor Description FaceDetectionRecognitionSettings(java.net.URL modelsURL)
Constructor
-
Method Summary
-
-
-
Method Detail
-
getDetectorVersion
public int getDetectorVersion()
-
setDetectorVersion
public void setDetectorVersion(int detectorVersion)
-
getConfidenceThreshold
public float getConfidenceThreshold()
-
setConfidenceThreshold
public void setConfidenceThreshold(float confidenceThreshold)
-
getSizeRange
public float getSizeRange()
-
setSizeRange
public void setSizeRange(float sizeRange)
-
getRollRangeLarge
public int getRollRangeLarge()
-
setRollRangeLarge
public void setRollRangeLarge(int rollRangeLarge)
-
getRollRangeSmall
public int getRollRangeSmall()
-
setRollRangeSmall
public void setRollRangeSmall(int rollRangeSmall)
-
getYawRangeLarge
public int getYawRangeLarge()
-
setYawRangeLarge
public void setYawRangeLarge(int yawRangeLarge)
-
getYawRangeSmall
public int getYawRangeSmall()
-
setYawRangeSmall
public void setYawRangeSmall(int yawRangeSmall)
-
getLandmarkOptions
public int getLandmarkOptions()
-
setLandmarkOptions
public void setLandmarkOptions(int landmarkOptions)
-
getMatrixTemplateVersion
public int getMatrixTemplateVersion()
-
setMatrixTemplateVersion
public void setMatrixTemplateVersion(int matrixTemplateVersion)
-
getYawPitchVariant
public int getYawPitchVariant()
-
setYawPitchVariant
public void setYawPitchVariant(int yawPitchVariant)
-
getEyeDetectionVariant
public int getEyeDetectionVariant()
-
setEyeDetectionVariant
public void setEyeDetectionVariant(int eyeDetectionVariant)
-
getDefaultTemplateVersion
public int getDefaultTemplateVersion()
-
setDefaultTemplateVersion
public void setDefaultTemplateVersion(int defaultTemplateVersion)
-
getReduceConfidenceCalculation
public boolean getReduceConfidenceCalculation()
-
setReduceConfidenceCalculation
public void setReduceConfidenceCalculation(boolean reduceConfidenceCalculation)
-
getLightingMatrix
public int getLightingMatrix()
-
setLightingMatrix
public void setLightingMatrix(int lightingMatrix)
-
getLightingCompensation
public int getLightingCompensation()
-
setLightingCompensation
public void setLightingCompensation(int lightingCompensation)
-
getPoseVariant
public int getPoseVariant()
-
setPoseVariant
public void setPoseVariant(int poseVariant)
-
getPoseCompensation
public int getPoseCompensation()
-
setPoseCompensation
public void setPoseCompensation(int poseCompensation)
-
getDetectSmile
public boolean getDetectSmile()
-
setDetectSmile
public void setDetectSmile(boolean detectSmile)
-
getAttemptMultiThreading
public boolean getAttemptMultiThreading()
-
setAttemptMultiThreading
public void setAttemptMultiThreading(boolean attemptMultiThreading)
-
getFaceExtractQualityThreshold
public float getFaceExtractQualityThreshold()
- Returns:
- Minimum quality score for a face to be considered for face template extraction (recognition)
- Since:
- 1.0.0
-
setFaceExtractQualityThreshold
public void setFaceExtractQualityThreshold(float faceExtractQualityThreshold)
- Parameters:
faceExtractQualityThreshold
- Minimum quality score for a face to be considered for face template extraction (recognition)- Since:
- 1.0.0
-
getLandmarkTrackingQualityThreshold
public float getLandmarkTrackingQualityThreshold()
- Returns:
- Minimum quality score for faces returned by landmark detection. If landmark detection detects a face with lower quality score the library will run full face detection (slower).
- Since:
- 1.0.0
-
setLandmarkTrackingQualityThreshold
public void setLandmarkTrackingQualityThreshold(float landmarkTrackingQualityThreshold)
- Parameters:
landmarkTrackingQualityThreshold
- Minimum quality score for faces returned by landmark detection. If landmark detection detects a face with lower quality score the library will run full face detection (slower).- Since:
- 1.0.0
-
getModelsPath
public java.lang.String getModelsPath()
-
setModelsPath
public void setModelsPath(java.lang.String modelsPath)
-
getModelsURL
public java.net.URL getModelsURL()
-
getLogLevel
public FaceDetectionRecognitionSettings.LogLevel getLogLevel()
-
setLogLevel
public void setLogLevel(FaceDetectionRecognitionSettings.LogLevel logLevel)
-
-