Compare a side face with front using Face - API (MS Cognitive Services)

烂漫一生 提交于 2019-12-11 06:55:06

问题


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.

error.

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

Thanks.

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.


回答1:


Saravanan,

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);

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.



来源:https://stackoverflow.com/questions/40901458/compare-a-side-face-with-front-using-face-api-ms-cognitive-services

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!