为每个facedetect调用创建新的FaceIds [英] Creating new FaceIds for every facedetect call

查看:95
本文介绍了为每个facedetect调用创建新的FaceIds的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个应用程序,我必须使用FaceVerify识别面部。有没有办法每次都生成新的faceid我会使用FaceDetect检测图像网址。现在它显示相同的faceid,因为它存储了24小时,即使
这个人不同。

如果有任何解决方案,请帮助我吗? 




推荐答案

API将URL和检测结果存储24小时,并将相同的URL视为同一图像。它不会再次计算,只返回结果,甚至更改URL的实际图像。

要避免这种情况,请将真实图像文件 - 而不是URL - 上传到API。这将强制API使用上传的图像进行计算,因此每次faceid都会有所不同。
The API stores the URL and detection result for 24 hours, and treats the same URL as the same image. It will not calculate again and just return the result, even the actual image of the URL is changed.
To avoid this, please upload the real image file - instead of the URL - to the API. This will force the API to calculate using the image uploaded, so the faceid will be different each time.


这篇关于为每个facedetect调用创建新的FaceIds的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆