Ask Your Question

Object tracking while moving

asked 2017-04-08 17:47:26 -0500

WiVM gravatar image


I am looking for a starting point to track moving objects in a video, while the camera is also moving itself. Similar to a car that is driving and detects movement but filters out his own flow/background. I find quite some examples of motion detection and tracking, but for some reason there are a lot of video examples available on tracking moving objects while also the camera is moving, but none share the code. From my research I understand that I should use flow control a possible solution, but I am to new in OpenCV and while like to have some code example to start with. Anyone know a project with code that uses the technique?

Thank you!

edit retag flag offensive close merge delete


After a lot of investigation and some try-outs I found that TLD may be the best option to track objects in moving images, but my main problem remains how to detect movement in the video that is not part of the regular camera movement. Any suggestions?

WiVM gravatar imageWiVM ( 2017-04-16 19:09:51 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-04-09 12:11:28 -0500

ManuVISION gravatar image The code is in the description of the video

edit flag offensive delete link more


Hi Manuvision, Many thanks for your suggestion. I indeed found this example earlier this week and tried to get it working on Friday. It failed with the message "cannot open file 'opencv_imgcodees320d.lib'". What I thought to be a simple thing of locating the correct library and add it to the project was far from it. I don't seem to be able to locate the file anywhere. Do you know where to find it? Many thanks!

WiVM gravatar imageWiVM ( 2017-04-09 16:47:04 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-04-08 17:47:26 -0500

Seen: 644 times

Last updated: Apr 09 '17