How to open and read video stream in Matlab

54 views Asked by At

I wanted to open a video stream and get image frames from video

Current code:

oj = imaq.VideoDevice('winvideo',1); 
frame = step(oj);

However I don't want a real time video. I want to use a saved video file saved in a path. How should I rewrite this?

Please advise. Thanks!

0

There are 0 answers