| | Call methods and properties are not changed
|
| | Call methods and properties are not changed
|
| | STSilentLivenessImage.h Change 1: Added STSilentLivenessResultInfo class STSilentLivenessImage.h Change 2: Added STSilentLivenessCloudInfo class STSilentLivenessImage.h Change 3: Added STSilentLivenessResultExtraInfo class STSilentLivenessDetectorDelegate.h Change 1: Deleted callback - (void)silentLivenessSuccessWithProtobufData:images:faceRects: STSilentLivenessDetectorDelegate.h Change 2: Deleted callback - (void)silentLivenessFailureWithErrorCode:protobufData:images:faceRects: STSilentLivenessDetectorDelegate.h Change 3: Changed callback - (void)silentLivenessSuccessWithProtobufData:protobufDataSign:images:croppedImages:extraInfo: to - (void)silentLivenessSuccessWithResultInfo: STSilentLivenessDetectorDelegate.h Change 4: Changed callback - (void)silentLivenessFailureWithErrorCode:protobufData:protobufDataSign:images:croppedImages:extraInfo: to - (void)silentLivenessFailureWithResultInfo: STSilentLivenessEnumTypeHeader.h Change 1: STIDSilentLivenessResult Added the enumeration of STIDSilentLiveness_E_SIGN_FAILED, STIDSilentLiveness_E_UNTRUSTED_RESULT STSilentLivenessEnumTypeHeader.h Change 2: STIDSilentLivenessCloudInternalCode Deleted the enumeration of STIDSilentLiveness_CLOUD_UNKNOWN_CODE; Changed STIDSilentLiveness_CLOUD_INTERNAL_DEFAULT to -1; Added STIDSilentLiveness_CLOUD_INTERNAL_REQUEST_HAS_EXPIRED and STIDSilentLiveness_CLOUD_INTERNAL_DUPLICATE_REQUEST
|
| | STSilentLivenessDetector.h Change 1: Added new method - (void)setImageProcessRule: for setting image cropping rules STSilentLivenessImage.h Change 1: Added new attribute rect indicates that if it is the original image and the coordinates of the face frame of the original image. If it is a cropped image, it indicates the cropping coordinates relative to the original image STSilentLivenessImage.h Change 2: Added the binary information of the image attribute imageData for uploading to the backend, please do not modify it. STSilentLivenessImage.h Change 3: Added attribute signInfo for image signature information STSilentLivenessImage.h Change 4: Added new classes STSilentLivenessImageCropRule and STSilentLivenessImageProcessRule used to set the size and size of image cropping STSilentLivenessImage.h Change 5: Added reserved class STSilentLivenessResultExtraInfo used to return additional information of the liveness detection callback result STSilentLivenessDetectorDelegate.h Change 1: Added callback - (void)silentLivenessSuccessWithProtobufData: protobufDataSign: images: croppedImages: extraInfo:(STSilentLivenessResultExtraInfo *)extraInfo STSilentLivenessDetectorDelegate.h Change 2: Added callback - (void)silentLivenessFailureWithErrorCode: protobufData: protobufDataSign: images: croppedImages: extraInfo:
|
| | Call methods and properties are not changed
|
| | Call methods and properties are not changed
|
| | 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;
|
| | Call methods and properties are not changed
|
| | 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;
|
| | 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;
|
| | Call methods and properties are not changed
|
| | Call methods and properties are not changed
|
| | 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
|
| | 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
|
| | Call methods and properties are not changed
|
| | Call methods and properties are not changed
|
| | Added a function of whether the eyebrows are blocked, added a property in the STSilentLivenessFace class: @property (assign, nonatomic) BOOL isFaceOcclusion
|
| | Change the name of the enumeration value in the SilentLivefaceErrorType class
|