how to define 'getsnapshot' for input arguments of type 'vision.VideoFileReader'?
1 回表示 (過去 30 日間)
古いコメントを表示
vobj = vision.VideoFileReader(filename, 'ImageColorSpace', 'RGB');
v = getsnapshot(vobj);
and then i got this message :
Undefined function 'getsnapshot' for
input arguments of type
'vision.VideoFileReader'.
how to define that 'getsnapshot' for input argument of type 'vision.videofilereader'?
0 件のコメント
回答 (2 件)
Dima Lisin
2014 年 9 月 4 日
Use this:
v = step(vobj)
The vision.VideoFileReader object does not have a getsnapshot method. Instead, you can read the next video frame using the step method.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で GigE Vision Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!