FACE API:速率限制超出异常 [英] FACE API: rate limit exceeded exception

查看:85
本文介绍了FACE API:速率限制超出异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我试图识别面孔,第一次识别面部并给出名字(实际上我训练了已识别的照片 相关名称但它只显示5次,只显示例外,如下图所示。



请帮我解决这个问题。



在此先感谢,


Sai Priya。 C

解决方案

你好,


好像你正在击中
Face API配额限制
,每秒10次通话。我注意到你代码中的while循环,可能会有一些小变化(如Task.Delay(1000).Wait())可能有所帮助。


这会在你的场景中有意义吗?


Hi,

I'm tried to identify the faces, first time it identify the face and given the names also( Actually I trained the identified photo related name) but it shows 5 times only 6thh time it shows an exception like as shown in below figure.

Please help me to solve this issue.

Thanks in advance,

Sai Priya. C

解决方案

Hi there,

It seems your are hitting the Face API quota limit of 10 calls per second. I noticed the while loop in you code, mayby a small change in there (like Task.Delay(1000).Wait()) could help.

Would that make sense in your scenario?


这篇关于FACE API:速率限制超出异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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