Skip to content

Trouble finding video paths #28

Description

@davidjamespritchard

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions