Kanade Lucas Tomasi跟踪器 [英] Kanade Lucas Tomasi Tracker

查看:278
本文介绍了Kanade Lucas Tomasi跟踪器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在以下链接。然而,我想知道KLT如何认识新人进入现场。我知道每10帧有一个补充的边界框,但是如果有人说在第5帧输入。这是否意味着他的第5个连续帧的人没有被捕获?如果我理解这个阈值可以变化,但仍然会有这样的情况下会发生什么。

I was looking into Kanade Lucas Tomasi Tracker in the following link. However, I was wondering how the KLT recognizes the new people have entered scene. I know that there is replenishing of bounding boxes every 10 frames, but in case a person say entered in the 5th frame. Does it mean the for his first 5th consecutive frames the person is not captured? If I understand that this threshold can be varied, however there will still be cases when this will happen whats so ever.

有人可以解释我是否会收到这个错误?

Can someone explain if I am getting this wrong please?

推荐答案

是的,你是正确的。直到下一次 vision.CascadeObjectDetector 运行时才会检测到新人。该示例基本上假定当新人进入视野时,它们将在一段时间内保持可见,并且将被最终检测到。

Yes, you are correct. A new person will not be detected until the next time vision.CascadeObjectDetector is run. This example essentially assumes that when new people enter the field of view, they will stay visible for some time, and will be detected eventually.

这可能有助于考虑它与帧速率有关。如果代码以10 fps运行,则每秒重新检测一次。换句话说,对于新的面部,将花费大约一秒的时间来检测。如果这是不可接受的,那么你可以尝试重新检测更频繁。要记住的是,面部检测比KLT( vision.PointTracker )慢,因此如果你更频繁地运行面部检测器,你的帧速率减少。

It may be helpful to think about it in relation to the frame rate. If the code runs at 10 fps, then the re-detection occurs every second. In other words, it will take on the order of a second for a new face to be detected. If that is not acceptable, then you can try re-detecting more often. The thing to keep in mind, though, is that face detection is slower than KLT (vision.PointTracker), so if you run the face detector more often, your frame rate will decrease.

这篇关于Kanade Lucas Tomasi跟踪器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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