This might because I have done something stupid, but I have been trying the example code with my own folder and I keep getting the following error:
Index exceeds the number of array elements. Index must not exceed 0.
Error in example (line 87)
vr = VideoReader(videoPaths{1});
My only changes to the code are:
projectFolder = 'D:\dannce\';
and
calibrationPaths = collectCalibrationPaths(projectFolder, "stereoParams.mat");
My videos and calibration files are each in folders (called "videos" and "calibration") within D:\dannce. I have two videos in the folder right now ('Left.mp4' and 'Right.mp4') and have tried changing videoName to either name or to '*.mp4' as well as the original name.
I am not sure what I am doing wrong so any advice would be really appreciated.
This might because I have done something stupid, but I have been trying the example code with my own folder and I keep getting the following error:
My only changes to the code are:
projectFolder = 'D:\dannce\';and
calibrationPaths = collectCalibrationPaths(projectFolder, "stereoParams.mat");My videos and calibration files are each in folders (called "videos" and "calibration") within D:\dannce. I have two videos in the folder right now ('Left.mp4' and 'Right.mp4') and have tried changing videoName to either name or to '*.mp4' as well as the original name.
I am not sure what I am doing wrong so any advice would be really appreciated.