【问题标题】:Compare a side face with front using Face - API (MS Cognitive Services)使用 Face - API (MS Cognitive Services) 比较侧面与正面
【发布时间】:2017-04-15 13:10:44
【问题描述】:
我正在使用 MS Cognitive Services - Face API 根据数据库中的一组人脸识别人脸。
如果输入面是侧面,则抛出,
The length of faceids is not in a valid range.
错误。
是否可以使用 Face - API 比较侧面和正面?
谢谢。
注意:EmguCV(Right side Face detection with EmguCv) 上有一个问题,但我使用的是 MS Cognitive Services Face API。
【问题讨论】:
标签:
microsoft-cognitive
face-api
【解决方案1】:
沙拉湾,
您可能已经想通了,但我在调用 Face Group API 时遇到了类似的问题:
GroupResult x = await faceServiceClient.GroupAsync(values);
当此示例中的“值”仅包含一个 FaceID 时,我收到此错误。就我而言,这是我的一个错误,因为不可能只对一张脸进行分组。不过,错误消息有点神秘,我花了一段时间才弄明白。这可能会在将来对其他人有所帮助。