本文介绍了使用Face-API(MS认知服务)将侧面与正面进行比较的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用MS Cognitive Services-人脸API来针对数据库中的人脸识别人脸.

I am working on identifying a face against set of faces in database using MS Cognitive Services - Face API.

如果输入面是侧面,则它会抛出,

If the input face is a side face then it throws,

The length of faceids is not in a valid range.

错误.

是否可以使用Face-API比较侧面和正面?

Is it possible to compare a side face with front one using Face - API?

谢谢.

注意:EmguCV上有一个问题(使用EmguCv进行右侧人脸检测),但我使用的是MS Cognitive Services Face API.

Note: There is a question on EmguCV(Right side Face detection with EmguCv) for the same but I am using MS Cognitive Services Face API.

推荐答案

萨拉瓦南,

您可能已经知道了这一点,但是我在调​​用Face Group API时遇到了类似的问题:

You may have already figured this out, but I hit a similar issue with calling the Face Group API:

GroupResult x = await faceServiceClient.GroupAsync(values);

在此示例中,值"仅包含一个FaceID时,出现此错误.就我而言,这是我的错误,因为不可能只组合一张脸.错误消息有点神秘,我花了一些时间才弄清楚.这可能会在将来对其他人有所帮助.

When "values" in this example only contained one FaceID I got this error. In my case it was a mistake on my part, as it is impossible to group only one face. The error message was a bit cryptic, though, and it took me a while to figure it out. This may help someone else in the future.

这篇关于使用Face-API(MS认知服务)将侧面与正面进行比较的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-19 18:05