Image recognition and tracking by cross correlation
8 次查看(过去 30 天)
显示 更早的评论
Hi all,
I'm currently working on object tracking from a highpeed video. The goal is to track different markers positioned on an EBike, which is driving through the scene. I've tried different methods, and actually working on solve this by template matching with cross-correlation. My Problem is that the result is not my desired result, maybe the marker design is not the best fitting. Here you see one frame of the video:
I've also uploaded my Simulik model. Unfortunately you can't simulate without the video file which is quite about 400MB. Maybe you have some tips.
Thank you
0 个评论
回答(3 个)
David Young
2015-1-27
You don't say what exactly you have tried, or what goes wrong in each case.
There is code to do tracking by cross-correlation on the File Exchange. One example is here. The Computer Vision System Toolbox has some powerful techniques, which may offer improvements over cross-correlation.
0 个评论
Image Analyst
2015-1-27
I've attached my demo of normxcorr2, for what it's worth, though I agree with David in that there are methods in the Computer Vision System Toolbox or elsewhere that are probably better.
Also, you should do something about your lighting - it's way too dark. Plus it has shadows. You can eliminate the shadows in the background by hanging black velvet from the panels. That will also let you use a stronger, brighter lighting of the bicyclist from the camera side.
Of course I'll be interested in hearing a knowledgeable response from the cyclist - it should be in his wheelhouse (sorry - bad pun).
Finally I think that motion capture is such a widely used method that there are without a doubt turnkey software packages already available that specialize in this sort of thing and you do not need to reinvent the wheel (sorry - bad pun again) by writing your own in MATLAB.
0 个评论
Dima Lisin
2015-1-29
编辑:Dima Lisin
2015-1-29
Are you able to detect the markers in one frame? If so, then you can use vision.PointTracker to track them. Alternatively, assuming that your camera is stationary, you can use vision.ForegroundDetector to detect the whole moving person in each frame.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computer Vision with Simulink 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!