织梦CMS - 轻松建站从此开始!

360BC游戏

当前位置: 主页 > 手机游戏

Reinit goodFeaturesToTrack and LukasKanade optical flow. ed

时间:2025-09-28 17:30来源:本站 作者:admin666 点击:
Hi guys..I am at the moment using goodFeaturesToTrack + Lukas kanade optical flow to track objects. When i lose the object (defined by bool) I have to reinitiate the goodFeaturesToTrack and LukasKanade optical flow. This might seem like a s

Hi guys.. I am at the moment using goodFeaturesToTrack + Lukas kanade optical flow to track objects. When i lose the object (defined by bool) I have to reinitiate the goodFeaturesToTrack and LukasKanade optical flow. This might seem like a stupid question, and has indeed been for me for couple of weeks, but i cannot seems to perform the reinitiating stage. I clear the points i have been tracking.. Use goodFeatureToTrack on the new location of the mask, Lukas kanade to track the points.. I mark the the good features with a circle on the image, so in know that i started all over, but the seem to be spread as before which make me wonder if it actually is doing what it is supposed to do?

there is a lot of code.. i don't it scare you away..

 

I tried debugging, and can see that GoodFeaturesToTrack only adds one circle, which isn't nessesarly within the mask, how do i make it add more than one.. I doesn't make sense that it doesn't add more since i have deleted all previous points. ..

It's reinit stage only that seem to be troublesome.. Thanks in advance.

(责任编辑:蚂蚁团队)
织梦二维码生成器
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:点击我更换图片
栏目列表
推荐内容