vcapg2

1 Ansicht (letzte 30 Tage)
Halim
Halim am 5 Apr. 2012
does anyone know how to capture and save image from live webcam using vcapg2??

Akzeptierte Antwort

Halim
Halim am 5 Apr. 2012
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');

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by