【发布时间】:2017-12-04 21:38:00
【问题描述】:
我是人脸识别新手。 我看到了很多问题,但我想我还没有找到答案。
我知道要从 Web 上传图像,我必须使用 Content-Type application/json,然后我必须将图像 url 放在 JSON 字段中,如下所示。
{
"url":"http://example.com/1.jpg"
}
但是,如果我要从本地上传图像,我应该使用 Content-Type application/octet-stream。 现在,我的问题是:在这种情况下,我必须在 JSON 字段中插入什么?
对不起,我的英语很差,提前感谢您的回答。
附言在这里你可以找到我正在关注的教程: https://westcentralus.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236/console
【问题讨论】:
标签: json api face-detection microsoft-cognitive