Info

This question is closed. Reopen it to edit or answer.

this code is correct????????????

2 views (last 30 days)
raj
raj on 2 Sep 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
warning off;
clear all;
close all;
clc;
vid = imreader('1.jpg');
vid = read(obj);
video = vid . videos;
ST = 'rhinos.avi';
for frame = 1:number;
raj(frame)= getframe;
end

Answers (1)

Image Analyst
Image Analyst on 2 Sep 2014
No. You need to use read() instead of getframe(). See my attached demo.
  1 Comment
Image Analyst
Image Analyst on 2 Sep 2014
Not sure why you tagged the question with with "pls" (Partial Least Squares).

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!