Hi, How can I detect and track an object while its moving in a video and want to know its position?
15 次查看(过去 30 天)
显示 更早的评论
Hi, How can I detect and track an object while its moving in a video and want to know its position?
0 个评论
采纳的回答
Image Analyst
2022-11-6
See my attached demo where I track a green Sharpie in a video.
16 个评论
Walter Roberson
2022-11-20
That video is Microsoft ASF codec. That codec is not supported on MacOS. When I convert the video to m4v using VLC then the program runs without problem for me.
I suspect that your system is not reading the video properly.
I find some indications that historically those kinds of videos were supported by MATLAB on Windows, but that there were difficulties that the frame count could not be determined until the file had been completely read. I do not know if that is still the case.
更多回答(1 个)
Walter Roberson
2022-11-6
If this is in the context of Driving (video is really a camera), see https://www.mathworks.com/help/driving/ref/multiobjecttracker.html
If this were in the context of multiple sensors then see https://www.mathworks.com/help/fusion/multi-object-trackers.html
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!