Revision History

Date of Update

Version

Update summary

2021/10/21

V2.4.4

  • Call methods and properties are not changed

2021/04/20

V2.4.3

  • Call methods and properties are not changed

2021/01/15

V2.4.1

  • Call methods and properties are not changed

2020/12/07

V2.4.0

  • SilentLivenessApi Class change 1:change the init function to public static void init(@NonNull final Context context, @NonNull final String licenseFilePath, @NonNull final String detectionModelFilePath, @NonNull final String alignmentModelFilePath, @NonNull final String qualityModelFilePath, @NonNull final String frameSelectorModelFilePath, @NonNull final String antiSpoofingModelFilePath, @NonNull final OnLivenessListener listener)

  • SilentLivenessApi Class change 2:Add the setting of bright light threshold to setIlluminationFilterEnable

  • OnLivenessListener Class change 1:Add the result of light detection to the return of onFaceStatusChanged

  • Add LightIntensity

  • Delete the error code: STID_E_QUALITY_BLUR_MODEL_FILE_NOT_FOUND and STID_E_QUALITY_LIGHT_MODEL_FILE_NOT_FOUND

2020/10/14

V2.3.0

  • SilentLivenessApi Class changed 1: Added model path in init function

  • SilentLivenessApi Class changed 2:Added threshold setting in setBlurryFilterEnable

  • SilentLivenessApi Class changed 3:Added threshold setting of dark light detction in setIlluminationFilterEnable

  • SilentLivenessApi Class changed 4:Added threshold setting of eyes state detction in setEyeOpenThreshold

  • Addded error code: STID_E_QUALITY_BLUR_MODEL_FILE_NOT_FOUND,STID_E_QUALITY_LIGHT_MODEL_FILE_NOT_F

2020/08/14

V2.2.0

  • SilentLivenessApi Class changed 1:Added functions: getThreshold & setThreshold

  • SilentLivenessApi Class changed 2:Added functions: setBlurryFilterEnable & getBlurryFilterEnable

  • SilentLivenessApi Class changed 3:Added functions: setIlluminationFilterEnable & getIlluminationFilterEnable

  • SilentLivenessApi Class changed 4:Added functions: setOcclusionEnable & getOcclusionEnable

  • OnLivenessListener Class changed 1:Added lightTooDark to the callback of onFaceStatusChanged

  • ResultCode class added error code:STID_E_FACE_QUALITY_MODEL_FILE_NOT_FOUND

2020/04/08

V2.1.1

  • Call methods and properties are not changed

2019/09/04

V2.1.0

  • Call methods and properties are not changed

2019/04/01

V2.0.0

  • Renamed the original OcclusionState class to OcclusionStatus

  • Renamed the original FaceState class to FacePosition

  • SilentLivenessApi class Change 1: Changed the original method String getVersion() to String getSdkVersion()

  • SilentLivenessApi class Change 2: Removed the following method: void init(Context context, String apiKey, String apiSecret, String licenseFilePath, final String detectionModelFilePath, final String alignmentModelFilePath, final String frameSelectorModelFilePath, final String hacknessModelFilePath, int duration, int frames, OnLivenessListener listener)

  • SilentLivenessApi class Change 3: New method void setPassCondition(int minDuration int minFrames) will be used to set the requirements of liveness detection

  • SilentLivenessApi class Change 4: New method int getPassMinDuration() will be used to obtain the shortest time for liveness detection

  • SilentLivenessApi class Change 5: New method int getPassMinFrames() will be used to obtain the minimum number of frames for liveness detection

  • SilentLivenessApi class Change 6: Changed the parameter type of void setDetectTimeout(long timeout) method to void setDetectTimeout(int timeout)

  • SilentLivenessApi class Change 7: Changed the method boolean setFaceDistanceRate(float farRate, float closeRate). The return type is void setFaceDistanceRate(float farRate, float closeRate).

  • SilentLivenessApi class Change 8: New method float getFaceFarRate() will be used to get the face distance threshold

  • SilentLivenessApi class Change 9: New method float getFaceCloseRate() will be used to obtain the threshold of the face distance

  • SilentLivenessApi class Change 10: Changed the method void onStatusUpdate(int faceState, FaceOcclusion faceOcclusion, int faceDistance) to void onFaceStatusChanged(int facePosition, FaceOcclusion faceOcclusion, int faceDistance)

  • SilentLivenessApi class Change 11: Changed the method void onError(ResultCode errorCode, String requestId) to void onFailure(ResultCode errorCode, byte [] protobufData, List images, List faceRects, final String requestId, final int statusCode)

  • SilentLivenessApi class Change 12: Changed the method void onDetectOver(ResultCode code, byte [] protobufData, List images, Rect faceRect, final String requestId, final int statusCode) to void onSuccess(byte [] protobufData, List images, List faceRects, final String requestId, final int statusCode)

  • SilentLivenessApi class Change 13: Changed the method void setBrowOcclusion(final boolean need) to void setBrowOcclusionEnable(final boolean enable)

  • FaceOcclusion class Change 1: Changed the method int getBrowOcclusionState() to int getBrowOcclusionStatus()

  • FaceOcclusion class Change 2: Changed the method int getEyeOcclusionState() to int getEyeOcclusionStatus()

  • FaceOcclusion class Change 3: Changed the method int getNoseOcclusionState() to int getNoseOcclusionStatus()

  • FaceOcclusion class Change 4: Changed the method int getMouthOcclusionState() to int getMouthOcclusionStatus()

2018/12/18

V1.11

  • SilentLivenessApi class Change 1: Added getLibraryVersion() to obtain the version number of the current internal library

  • SilentLivenessApi class Change 2: init(Context context, String apiKey, String apiSecret, String licenseFilePath, final String detectionModelFilePath, final String alignmentModelFilePath, final String frameSelectorModelFilePath, final String hacknessModelFilePath, OnLivenessListener listener) method adds parameters and uses multiple models to initialize

  • SilentLivenessApi class Change 3: init(Context context, String apiKey, String apiSecret, String licenseFilePath, final String detectionModelFilePath, final String alignmentModelFilePath, final String frameSelectorModelFilePath, final String hacknessModelFilePath, int duration, int frames, OnLivenessListener listener) adds method parameters, uses multiple models to initialize, and changes the duration unit to second

  • SilentLivenessApi class Change 4: Added start() to start the detecting the interface, which is called before inputData and after init

  • SilentLivenessApi class Change 5: Added stop() to stop the detection interface, which is used to stop the current detection, reset the detection state and retry the scene after failure. It is called after init and before release. There is no need to call init after stop is called since re-detection will start directly.

  • SilentLivenessApi class Change 6: The original cancel() is changed into release() and will be used to release resources together with init

  • SilentLivenessApi class Change 7: The unit of setDetectTimeout() is changed to second

  • ResultCode class Additional error code 1: STID_E_DETECTION_MODEL_FILE_NOT_FOUND face detection model does not exist

  • ResultCode class Additional error code 2: STID_E_ALIGNMENT_MODEL_FILE_NOT_FOUND Align model does not exist

  • ResultCode class Additional error code 3: STID_E_FRAME_SELECTOR_MODEL_FILE_NOT_FOUND motion detection model does not exist

  • ResultCode class Additional error code 4: STID_E_ANTI_SPOOFING_MODEL_FILE_NOT_FOUND hack model does not exist

  • OnLivenssListener class Change 1: void onDetectOver(ResultCode code, byte[] protobufData, List images, Rect faceRect, final String requestId, final int statusCode);

2018/07/25

V1.10

  • Call methods and properties are not changed

2018/06/14

V1.9

  • Modified the low probability crash issue that may be caused by asynchronous processing inside the SDK

  • Modified the error handling of camera in Sample

2018/05/16

V1.8

  • SilentLivenessApi added an interface to set whether eyebrow occlusion is required: setBrowOcclusion (final boolean need)

  • Open Camera

  • Improved error codes consistency of parameter setting. Deleted STID_E_FARCLOSE_INVALID in ResultCode and error code STID_E_INVALID_ARGUMENTS is used for parameter setting

  • Added OcclusionState annotation class to judge the occlusion status

Last updated