商簿-retail

商簿-retail


人脸检测接口

<p><strong>简要描述:</strong> </p> <p>人脸检测接口 <strong>请求URL:</strong> </p> <ul> <li><code>http://{ip:port}/personnelfiles/version-book/person_face/retail/existsPersonFace/1.0</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST form-data</li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">src</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>被检测图片地址</td> </tr> <tr> <td style="text-align: left;">file</td> <td style="text-align: left;">否</td> <td style="text-align: left;">multipartFile</td> <td>被检测图片</td> </tr> <tr> <td style="text-align: left;">documentType</td> <td style="text-align: left;">否</td> <td style="text-align: left;">byte</td> <td>建档类型,1-查询是否主动建档过,0-是否被动建档过,null-是否主动或被动建档过</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>被动建过档 { "respCode": 10000000, "respMessage": "成功", "data": { "owner": null, "profile_type": 0, "personTypeName": null, "create_time": 1.5665421163353095E9, "gender": null, "person_type": null, "type": null, "labels": null, "score": "100.0%", "update_time": 1.5665421164865055E9, "profile_id": "b3773363-9af1-47dc-8d5f-5b1d74f603fa", "name": null, "faces": [ "http://192.168.12.96:30080/vesionbook/v1.0/image?image_id=1819_1566541397927268.jpg" ], "age": null }, "respMark": null }</code></pre> <p><strong>返回参数说明</strong> </p> <p>1、返回respCode为10000000,data为null,则说明未被建过档。2、返回respCode为10000000,data不为null,则说明被动建档过。3、若respCode返回62000026则说明主动建档过。</p> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML