Detecting objects in a video stream
显示 更早的评论
I want to detect an object from a video stream that can be from a video device or a file saved in the disk. How do I proceed with it?
回答(1 个)
Walter Roberson
2011-3-3
0 个投票
If you have an older version of Matlab, use mmreader() to read video from a file. If you have a new version, use the VideoReader class.
To read from a live video device, there is the Video Acquisition Toolkit. In some cases, depending on what the device interface is, it may be possible to use other methods that do not require that toolkit, but that toolkit is optimized for high performance.
There are also approaches using the Simulink Video Blockset. A very recent relevant question that gives some hints is #2382
You need to tell us more about the kind of object you need to detect and the other kinds of objects that might appear. There are different approaches for differing complexities.
2 个评论
Ramesh
2011-3-3
Walter Roberson
2011-3-3
I believe there are some fruit detection demos in the Matlab File Exchange.
类别
在 帮助中心 和 File Exchange 中查找有关 Motion Detection 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!