vcapg2

1 次查看(过去 30 天)
Halim
Halim 2012-4-5
does anyone know how to capture and save image from live webcam using vcapg2??

采纳的回答

Halim
Halim 2012-4-5
i already get it...
%For Camera Captured
%
cardum=vcapg2;
x=vcapg2;
imwrite (x,'cam1.jpg');
subplot(4,2,1);
imshow (x);
title('cam1');
% Read Image
x = imread('cam1.jpg');
imshow(x);
subplot(4,2,2);
imwrite (x,'cam1.jpg');
title('Original Image');

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by