SenseID Silent Liveness Detection SDK
iOS English V2.6.3
iOS English V2.6.3
  • Introduction
  • Release Notes
  • 1 Overview
  • 2 User Guide
  • 3 SDK Function Library
    • Revision History
    • 3.1 STSilentLivenessController
    • 3.2 STSilentLivenessDetector
    • 3.3 STSilentLivenessDetectorDelegate
    • 3.4 STSilentLivenessFaceEnumType
    • 3.5 STSilentLivenessEnumTypeHeader
    • 3.6 STSilentLivenessImage
  • 4 FAQ
Powered by GitBook
On this page
  • STSilentLivenessImage
  • STSilentLivenessImageCropRule
  • STSilentLivenessImageProcessRule
  • STSilentLivenessResultInfo
  • STSilentLivenessCloudInfo
  1. 3 SDK Function Library

3.6 STSilentLivenessImage

STSilentLivenessImage

Parameter
Description

image

the image

index

the order of the image in the sequence, starting from 0

rect

the face frame coordinates if the original picture, and the cutting coordinates of the original picture if a cropped image

imageData

the binary information of the image uploaded to the private cloud, please do not modify

signInfo

the digital signature of the image

STSilentLivenessImageCropRule

Parameter
Description

isNeedCrop

Whether the face image needs cropping, default yes. Return the face image and the cropping coordinates after cropping if set to True. Return the signed face image and the cropping coordinates of the original image if set to FALSE

offsetX

the offset of the expanded area in the X-axis direction relative to the face frame

offsetY

the offset of the expanded area in the Y-axis direction relative to the face frame

scaleX

the scale of the expanded area in the X-axis direction relative to the face frame

scaleY

the scale of the expanded area in the Y-axis direction relative to the face frame

STSilentLivenessImageProcessRule

Parameter
Description

imageCropRule

image cropping rule

topSize

image size limit, in KB

STSilentLivenessResultInfo

Parameter
Description

livenessResult

result of STIDSilentLivenessResult

detailErrorMessage

the specific information of internal errors, default inil

protobufData

encrypted binary data returned

protobufDataSign

signature of the encrypted binary data returned

imageArr

STSilentLivenessImage array returned according to the specified output scheme

croppedImages

STSilentLivenessImage array after image cropping

STSilentLivenessCloudInfo

Parameter
Description

requestId

requestId returned by the server

statusCode

status code from the private cloud, -1 if no status code

cloudInternalCode

internal code from the private cloud, refer to STIDSilentLivenessCloudInternalCode for details

livenessScore

liveness score, -1 if no score

Previous3.5 STSilentLivenessEnumTypeHeaderNext4 FAQ

Last updated 3 years ago