How to solve Error "Error using strfind Conversion to double from VideoReader is not possible."?

1 回表示 (過去 30 日間)
noam Y
noam Y 2017 年 8 月 17 日
編集済み: Stephen23 2017 年 8 月 17 日
I'm trying to read RGB frames from a video to do some work on them and compile a new video. here's my code:
videoObj = VideoReader('test_vid.mp4');
vid_mat = zeros(950,1690,3,200);
for frame=1:200
img = imread(videoObj,frame);
end
  3 件のコメント
noam Y
noam Y 2017 年 8 月 17 日
I exampled this piece of code from a tutor that taught me Matlab funny he taught me something that doesn't work. thanks for the help
Stephen23
Stephen23 2017 年 8 月 17 日
編集済み: Stephen23 2017 年 8 月 17 日
@noam Y: do not learn how to use MATLAB from what random people give you (academics can write bad code too). The best place to learn MATLAB code is from the MATLAB documentation:

サインインしてコメントする。

回答 (0 件)

製品

Community Treasure Hunt

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

Start Hunting!

Translated by