如何设置视觉智能开放平台人脸识别各服务API接口请求和返回?
您好,视觉智能开放平台人脸比识别服务API接口请求和返回示例介绍,详情请参见:<ul style="list-style-type: disc;">
请求示例:
http(s)://facebody.cn-shanghai.aliyuncs.com/?Action=CompareFace //更多关于访问域名(Endpoint)信息,请参见:https://help.aliyun.com/document_detail/143103.html
&QualityScoreThreshold=98.5
&ImageURLA=http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/CompareFace/CompareFace-right1.png
&ImageURLB=http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/CompareFace/CompareFace-left1.png
&ImageDataA=/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgK****
&ImageDataB=/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgQ****
&公共请求参数
返回示例:
HTTP/1.1 200 OK
Content-Type:application/xml
<CompareFaceResponse>
<RequestId>B352CD68-C847-5C48-BE68-3F266356FDD7</RequestId>
<Data>
<Thresholds>61</Thresholds>
<Thresholds>69</Thresholds>
<Thresholds>75</Thresholds>
<RectBList>169</RectBList>
<RectBList>48</RectBList>
<RectBList>125</RectBList>
<RectBList>162</RectBList>
<Confidence>88.4831771850586</Confidence>
<RectAList>157</RectAList>
<RectAList>82</RectAList>
<RectAList>147</RectAList>
<RectAList>188</RectAList>
<QualityScoreA>99.65772247314453</QualityScoreA>
<QualityScoreB>98.01177978515625</QualityScoreB>
<IsMaskA>0</IsMaskA>
<IsMaskB>0</IsMaskB>
<LandmarksAList>201</LandmarksAList>
<LandmarksAList>146</LandmarksAList>
<LandmarksAList>266</LandmarksAList>
<LandmarksAList>159</LandmarksAList>
<LandmarksAList>222</LandmarksAList>
<LandmarksAList>190</LandmarksAList>
<LandmarksAList>187</LandmarksAList>
<LandmarksAList>208</LandmarksAList>
<LandmarksAList>255</LandmarksAList>
<LandmarksAList>219</LandmarksAList>
<LandmarksBList>199</LandmarksBList>
<LandmarksBList>115</LandmarksBList>
<LandmarksBList>248</LandmarksBList>
<LandmarksBList>109</LandmarksBList>
<LandmarksBList>215</LandmarksBList>
<LandmarksBList>146</LandmarksBList>
<LandmarksBList>206</LandmarksBList>
<LandmarksBList>167</LandmarksBList>
<LandmarksBList>260</LandmarksBList>
<LandmarksBList>162</LandmarksBList>
</Data>
</CompareFaceResponse>
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。