What's the difference between VideoReader and vision.VideoFileReader?

10 ビュー (過去 30 日間)
Andrew Vallejos
Andrew Vallejos 2017 年 7 月 31 日
回答済み: Swarooph 2017 年 8 月 1 日
What is the difference between VideoReader and vision.VideoFileReader?
I am working on a project that requires me to locate and track an object within a video. I originally wrote the code using VideoReader, but then stumbled across vision.VideoFileReader. But I cannot really see any clear benefit between using one or the other.
Thanks!
  1 件のコメント
Katrin Schwesinger
Katrin Schwesinger 2017 年 8 月 1 日
I am wondering too. I would like to work with Vision.videoFileReader with a currentTime command. But it is not available in Vision.toolbox. How is a Vision Command to transform in to a normal VideoReader command?

サインインしてコメントする。

採用された回答

Swarooph
Swarooph 2017 年 8 月 1 日
One primary difference I can see is vision.VideoFileReader is a system object and VideoReader is not. This means the VideoFileReader allows you to generate C code out of it. Because it is a system object, it is made to work with streaming type of data (video/audio) more efficiently so it might even be faster. Also, VideoFileReader is in the Computer Vision System Toolbox whereas VideoReader is in base MATLAB for anyone to use. If you have both, you should be looking to work with only one or the other.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTracking and Motion Estimation についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by