how to define 'getsnapshot' for input arguments of type 'vision.VideoFileReader'?
Mostra commenti meno recenti
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'?
Risposte (2)
Dima Lisin
il 4 Set 2014
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.
michael nabil
il 11 Gen 2018
0 voti
try using snapshot instead of getsnapshot it worked with me
Categorie
Scopri di più su Computer Vision Toolbox in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!