uestc-mm

转换mp4到jpg格式的图片:

% convert .mp4 to jpg picture
t=\'C:\Documents and Settings\luokh\桌面\Matlab编程\Matlab编程\数据资料\finger.mp4\';
obj = VideoReader(t);
for i=1:20
    frame = read(obj,i);
    temp=strcat(\'C:\Documents and Settings\luokh\桌面\Matlab编程\Matlab编程\数据资料\fingerOUT\\',num2str(i),\'.\',\'jpg\');
    imwrite(frame,temp);
end
clear all
%end

 

分类:

技术点:

相关文章:

  • 2021-10-30
  • 2021-12-27
  • 2021-11-10
  • 2022-01-14
  • 2022-01-21
  • 2022-02-01
  • 2021-11-28
猜你喜欢
  • 2021-05-29
  • 2021-08-21
  • 2021-12-05
  • 2022-12-23
  • 2022-02-08
  • 2022-12-23
相关资源
相似解决方案