1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <?xml version="1.0" encoding="gb2312" ?>
- <entity name="LivenessDetection">
- <!-- 活体检测服务 -->
- <class name="LivenessDetectionService" overlap="true" exclusive="false">
- <!-- 启动检测接口 -->
- <twoway name="StartLivenessDetection" overlap="true">
- <req>
- <!-- 活体检测ActionID 16位 -->
- <param name="ActionID" type="wstring"/>
- <!-- 是否为主动检测(默认false,被动) -->
- <param name="IsActive" type="bool"/>
- <!-- 保留参数 -->
- <param name="Reserved" type="wstring"/>
- </req>
- <res>
- </res>
- </twoway>
- <!-- 停止检测接口(被动检测用到返回结果) -->
- <twoway name="StopLivenessDetection" overlap="true">
- <req>
- <!-- 活体检测ActionID 16位 -->
- <param name="ActionID" type="wstring"/>
- </req>
- <res>
- <!-- 活体检测ActionID 16位 -->
- <param name="ActionID" type="wstring"/>
- <!-- 活体判别结果 Y(活体) N(非活体) X(不确定) -->
- <param name="VerifyResult" type="wstring"/>
- <!-- 活体照片数据(可能多张) -->
- <param name="LivePhotosData" type="blob"/>
- <!-- 活体照片长度列表,以'|'分隔 -->
- <param name="LivePhotosLength" type="wstring"/>
- </res>
- </twoway>
- </class>
- <!-- 主动检测完成消息 -->
- <message name="ActiveDetectionDone">
- <!-- 活体检测ActionID 16位 -->
- <param name="ActionID" type="wstring"/>
- <!-- 主动活体判别结果 Y(活体) N(非活体) X(不确定) -->
- <param name="VerifyResult" type="wstring"/>
- <!-- 自动抓拍照片数据 -->
- <param name="SnapShotPhotoData" type="blob"/>
- <!-- 自动抓拍照片长度 -->
- <param name="SnapShotPhotoLength" type="int"/>
- </message>
- <!-- 自动抓拍提示消息 -->
- <message name="AutoSnapshotRemind">
- <!-- 活体检测ActionID 16位 -->
- <param name="ActionID" type="wstring"/>
- <!-- 提示信息 -->
- <param name="RemindInfo" type="wstring"/>
- </message>
- <!-- 检测非正常结束消息 -->
- <message name="DetectionStopUnExpected">
- <!-- 活体检测ActionID 16位 -->
- <param name="ActionID" type="wstring"/>
- <!-- 是否为主动检测(默认false,被动) -->
- <param name="IsActive" type="bool"/>
- <!-- 错误码 -->
- <param name="ErrorCode" type="wstring"/>
- <!-- 错误消息:超时、启动检测失败... -->
- <param name="ErrorMsg" type="wstring"/>
- </message>
- <!-- 活体检测心跳消息(可选) -->
- <message name="LivenessDetectionHeartBeat">
- <!-- 状态:0:正常 1:故障... -->
- <param name="Status" type="int"/>
- </message>
- <!-- 主动活体启动消息 -->
- <message name="ActiveDetectionStarted">
- <!-- 启动参数(回显窗口用) -->
- <param name="Param" type="string"/>
- </message>
- <!-- 主动活体停止消息 -->
- <message name="ActiveDetectionStopped">
- <!-- 停止参数(回显窗口用) -->
- <param name="Param" type="string"/>
- </message>
- </entity>
|