3.6 STSilentLivenessImage

STSilentLivenessImage

ParameterDescription

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

ParameterDescription

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

ParameterDescription

imageCropRule

image cropping rule

topSize

image size limit, in KB

STSilentLivenessResultInfo

ParameterDescription

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

ParameterDescription

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

Last updated