关于Face API响应时间 [英] About Face API response time
问题描述
我发现了有关Face API响应时间的问题。
影响Face API响应时间的因素是什么?
我尝试使用相同图片的差异网络来获取面部识别码和识别信息。
您可以看到面部识别响应时间10秒的间隙和获得面部ID也需要7~8秒。
它会影响我的演示场景,你有没有保持良好的面部API响应时间的想法?
a。 与公司的网络:
GET FACE ID:               8秒
FACE识别: 21秒
Get Person信息:           2秒
b。 使用4G网络:
GET FACE ID:               7  秒
脸部识别: 11秒
Get Person信息:           &。1 NBSP;秒
推荐答案
嗨Ellen,
Hi Ellen,
除了你的网络连接,你传入的文件大小可以对检测的性能有重大影响。
Beyond your network connection, the file size you pass in can have a significant impact on the performance on detect.
在许多情况下,在发送到/ detect /函数之前缩小图像是一种值得关注的方法。
In many cases scaling down the images before sending to the /detect/ function is an approach worth looking at.
对于身份识别,请确保您已呼叫/训练/开启您要使用的群组。
For Identification, ensure you've called /train/ on the groups you're looking to use.
这篇关于关于Face API响应时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!