The problem I'm currently facing is I had used " obj = videoinput(adaptorname,deviceID); " to obtain the video data for analysis; but when I use the function "obj = VideoReader('abc.mp4');" some of the operations like " set(vid, 'FramesPerTrigger', Inf); " don't work with VideoReader as a result I'm not able to do the required analysis on saved mp4, mpg files.

How should I go about this problem?

I'm trying to track distinct coloured objects from a saved video and plot there centroids versus time.

More Sameer Dayanand Meshram's questions See All
Similar questions and discussions