Revision History

Date of Update

Version

Update summary

2021/08/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

  • STSilentLivenessDetector class Change 1: Changed extern CGFloat const kSenseIdSilentLivenessDefaultLightThreshold; into extern CGFloat const kSenseIdSilentLivenessDefaultDarkLightThreshold;

  • STSilentLivenessDetector class Change 2: Added extern CGFloat const kSenseIdSilentLivenessDefaultStrongLightThreshold;

  • STSilentLivenessDetector class Change 3: Changed method - (instancetype)initWithDetectionModelPath:(NSString *)detectionModelPath alignmentModelPath:(NSString *)alignmentModelPath frameSelectorModelPath:(NSString *)frameSelectorModelPath antiSpoofingModelPath:(NSString *)antiSpoofingModelPath faceQualityBlurModelPath:(NSString *)faceQualityBlurModelPath faceQualityLightModelPath:(NSString *)faceQualityLightModelPath licensePath:(NSString *)licensePath setDelegate:(id)delegate;

  • STSilentLivenessDetector class Change 4: Changed method - (void)setIlluminationFilterEnable:(BOOL)enable lowLightThreshold:(float)threshold;

  • STSilentLivenessEnumTypeHeader class Change 1: Changed STIDSilentLiveness_E_FACE_QUALITY_BLUR_MODEL_FILE_NOT_FOUND = 21;

  • STSilentLivenessEnumTypeHeader class Change 2: Deleted STIDSilentLiveness_E_FACE_QUALITY_LIGHT_MODEL_FILE_NOT_FOUND = 22;

  • STSilentLivenessFaceEnumType class Change 1: Added STIDSilentLiveness_QUALITY_LIGHT_STRONG;

2020/10/30

V2.3.1

  • Call methods and properties are not changed

2020/10/14

V2.3.0

  • STSilentLivenessDetector class Change 1: Changed the initialization method

  • STSilentLivenessDetector class Change 2: Changed method - (void)setBlurryFilterEnable to set to perform fuzzy filtering and fuzzy threshold;

  • STSilentLivenessDetector class Change 3: Changed method - (void)setIlluminationFilterEnable to set to perform dark light filtering and dark light threshold;

  • STSilentLivenessDetector class Change 4: New method -(void)setEyeOpenFilterEnable to set to perform eye opening filter and the eye opening threshold;

  • STSilentLivenessDetector class Change 5: New method -(BOOL)isEyeOpenFilterEnable to obtain the eye opening filter status;

  • STSilentLivenessEnumTypeHeader class Change 1: Changed and added the enumeration of STIDSilentLivenessResult:

    • STIDSilentLiveness_E_FACE_QUALITY_BLUR_MODEL_FILE_NOT_FOUND = 21;

    • STIDSilentLiveness_E_FACE_QUALITY_LIGHT_MODEL_FILE_NOT_FOUND = 22;

2020/08/14

V2.2.0

  • STSilentLivenessEnumTypeHeader class Change 1: Added the enumeration of STIDSilentLivenessResult:

    • STIDSilentLiveness_E_FACE_QUALITY_MODEL_FILE_NOT_FOUND;

  • STSilentLivenessEnumTypeHeader class Change 2: Deleted the enumeration of STIDSilentLivenessResult:

    • STIDSilentLiveness_E_FAILED

    • STIDSilentLiveness_E_CAPABILITY_NOTSUPPORTED;

  • STSilentLivenessFaceEnumType class Change 1:

    Added the enumeration of STIDSilentLivenessQuailityStatus

  • STSilentLivenessDetector class Change 1: Added the set method of fuzzy filtering, dark light filtering, and Hack threshold

  • STSilentLivenessDetector class Change 2: Added the get method of fuzzy filtering, dark light filtering, and Hack threshold

  • STSilentLivenessDetector class Change 3: Changed the method - (instancetype)initWithDetectionModelPath:(NSString *)detectionModelPath alignmentModelPath:(NSString *)alignmentModelPath frameSelectorModelPath:(NSString *)frameSelectorModelPath antiSpoofingModelPath:(NSString *)antiSpoofingModelPath faceQualityModelPath:(NSString *)faceQualityModelPath licensePath:(NSString *)licensePath apiKey:(NSString *)apiKey apiSecret:(NSString *)apiSecret setDelegate:(id)delegate;

  • STSilentLivenessDetectorDelegate class Change 1: Changed the method - (void)silentLivenessFaceStatusChangedWithFaceDistance:(STIDSilentLivenessFaceDistanceStatus)faceDistance facePosition:(STIDSilentLivenessFacePositionStatus)facePosition faceQuality:(STIDSilentLivenessQuailityStatus)faceQuality faceOcclusion:(STSilentLivenessFace *)faceOcclusion;

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

  • STSilentLivenessDetector class Change 1: Changed method + (NSString *)getVersion into + (NSString *)sdkVersion

  • STSilentLivenessDetector class Change 2: Changed method + (NSString *) getLibraryVersion into + (NSString *)libraryVersion

  • STSilentLivenessDetector class Change 3: Changed method - (instancetype)initWithDetectionModelPath:(NSString )detectionModelPathStr alignmentModelPath:(NSString )alignmentModelPathStr frameSelectorModelPath:(NSString )frameSelectorModelPathStr antiSpoofingModelPath:(NSString )antiSpoofingModelPathStr licensePath:(NSString *)licensePathStr setDelegate:(id)delegate into - (instancetype)initWithDetectionModelPath:(NSString )detectionModelPath alignmentModelPath:(NSString )alignmentModelPath frameSelectorModelPath:(NSString )frameSelectorModelPath antiSpoofingModelPath:(NSString )antiSpoofingModelPath licensePath:(NSString )licensePath setDelegate:(id)delegate

  • STSilentLivenessDetector class Change 4: Changed method - (void)setLivenessPasslimitTime:(NSInteger)time passFrames:(NSInteger)frame into - (void)setPassConditionMinDuration:(NSInteger)minDuration minFrames:(NSInteger)minFrames

  • STSilentLivenessDetector class Change 5: New method - (NSInteger)passMinDuration is added to obtain the shortest time for liveness detection to pass

  • STSilentLivenessDetector class Change 6: New method -(NSInteger)passMinFrames is added to obtain the minimum number of frames passed by liveness detection

  • STSilentLivenessDetector class Change 7: Changed the detection method - (void)startDetection and the re-detection method - (void)reStartDetection into - (void)start

  • STSilentLivenessDetector class Change 8: Changed method - (void)trackAndDetectWithCMSampleBuffer:(CMSampleBufferRef)sampleBuffer faceOrientaion:(STIDSilentLivenessFaceOrientaion)faceOrientation prepareframe:(CGRect)prepareframe previewframe:(CGRect)previewframe connection:(AVCaptureConnection )connection captureVideoPreviewLayer:(AVCaptureVideoPreviewLayer )captureVideoPreviewLayer into - (void)inputDataWithSampleBuffer:(CMSampleBufferRef)sampleBuffer faceOrientaion:(STIDSilentLivenessFaceOrientaion)faceOrientation imagePrepareRect:(CGRect)imagePrepareRect

  • STSilentLivenessDetector class Change 9: Changed method -(void)cancelDetection into - (void)stop

  • STSilentLivenessDetector class Change 10: Changed method - (void)setTimeOutDuration:(NSInteger)duration into -(void)setDetectTimeout:(NSInteger)duration

  • STSilentLivenessDetector class Change 11: New method -(NSInteger)detectTimeout is added to get the current timeout

  • STSilentLivenessDetector class Change 12: Changed method -(void)setLivenessFaceTooFar:(CGFloat)farDistance tooClose:(CGFloat)closeDistance into - (void)setFaceDistanceRateWithFarRate:(CGFloat)farRate closeRate:(CGFloat)closeRate

  • STSilentLivenessDetector class Change 13: New method - (CGFloat)faceFarRate is added to get the threshold for distant face

  • STSilentLivenessDetector class Change 14: Changed method - (CGFloat)faceCloseRate Used to get the threshold for the closest distance of face

  • STSilentLivenessDetector class Change 15: Changed BOOL isBrowOcclusion into - (void)setBrowOcclusionEnable:(BOOL)enable

  • STSilentLivenessDetectorDelegate class Change 1: Changed method - (void)silentLivenessDistanceStatus:(STIDSilentLivenessFaceDistanceStatus)distanceStatus boundStatus:(STIDSilentLivenessFaceBoundStatus)boundStatus silentFace:(STSilentLivenessFace *)silentFace into - (void)silentLivenessFaceStatusChangedWithFaceDistance:(STIDSilentLivenessFaceDistanceStatus)faceDistance facePosition:(STIDSilentLivenessFaceBoundStatus)facePosition faceOcclusion:(STSilentLivenessFace *)faceOcclusion

  • STSilentLivenessDetectorDelegate class Change 2: Changed method - (void)silentLivenessDidFailWithLivenessResult:(STIDSilentLivenessResult)livenessResult faceError:(STIDSilentLivenessFaceError)faceError protobufData:(NSData )protobufData images:(NSArray )imageArr faceRects:(NSArray *)faceRectArr into - (void)silentLivenessFailureWithErrorCode:(STIDSilentLivenessFaceError)errorCode protobufData:(NSData )protobufData images:(NSArray )images faceRects:(NSArray )faceRects

  • STSilentLivenessDetectorDelegate class Change 3: Changed method -(void)silentLivenessDidSuccessfulGetProtobufData:(NSData )protobufData images:(NSArray )imageArr faceRects:(NSArray *)faceRectArr into - (void)silentLivenessSuccessWithProtobufData:(NSData )protobufData images:(NSArray )images faceRects:(NSArray )faceRects

  • STSilentLivenessDetectorDelegate class Change 4: Deleted method - (void)silentLivenessDidCancel

  • STSilentLivenessFace class Change 1: Changed the property BOOL isFaceOcclusion into BOOL isOcclusion

2018/12/18

V1.11

  • Change the method in STSilentLivenessDetector.h 1: - (instancetype)initWithDetectionModelPath:(NSString *)detectionModelPathStr alignmentModelPath:(NSString *)alignmentModelPathStr frameSelectorModelPath:(NSString *)frameSelectorModelPathStr antiSpoofingModelPath:(NSString *)antiSpoofingModelPathStr licensePath:(NSString *)licensePathStr setDelegate:(id)delegate;

  • Change the method in STLivenessDetector.h 2: - (void)setTimeOutDuration:(NSInteger)duration

  • Change the method in STLivenessDetector.h 3: - (void)trackAndDetectWithCMSampleBuffer:(CMSampleBufferRef)sampleBuffer faceOrientaion:(STIDSilentLivenessFaceOrientaion)faceOrientation prepareframe:(CGRect)prepareframe previewframe:(CGRect)previewframe connection:(AVCaptureConnection *)connection captureVideoPreviewLayer:(AVCaptureVideoPreviewLayer *)captureVideoPreviewLayer;

  • Change the method in STSilentLivenessDetector.h 4: Added - (void)reStartDetection;

  • Change the method in STSilentLivenessDetector.h 5: Added - (void)getLibraryVersion;

  • Following error codes are added in STSilentLivenessEnumTypeHeader.h: STIDSilentLiveness_E_DETECTION_MODEL_FILE_NOT_FOUND STIDSilentLiveness_E_ALIGNMENT_MODEL_FILE_NOT_FOUND STIDSilentLiveness_E_FRAME_SELECTOR_MODEL_FILE_NOT_FOUND STIDSilentLiveness_E_ANTI_SPOOFING_MODEL_FILE_NOT_FOUND

2018/07/25

V1.10

  • Call methods and properties are not changed

2018/06/14

V1.9

  • Call methods and properties are not changed

2018/05/16

V1.8

  • Added a function of whether the eyebrows are blocked, added a property in the STSilentLivenessFace class: @property (assign, nonatomic) BOOL isFaceOcclusion

2018/04/20

V1.7.1

  • Change the name of the enumeration value in the SilentLivefaceErrorType class

Last updated