HOW can i find number of frames using vision.VideoFileReader?
2 vues (au cours des 30 derniers jours)
Dinesh Iyer le 17 Nov 2015
To use the system object to determine this value, you will have to read through the entire file like this:
vfr = vision.VideoFileReader;
numFrames = 0;
numFrames = numFrames + 1;
The VideoReader object has a property called NumberOfFrames that you can query for this value. Starting R2014b, the doc says that this property is being deprecated. However, its been 3 releases but its still going strong.