vcapg2

1 visualizzazione (ultimi 30 giorni)
Halim
Halim il 5 Apr 2012
does anyone know how to capture and save image from live webcam using vcapg2??

Risposta accettata

Halim
Halim il 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');

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by