Clear Filters
Clear Filters

vcapg2

1 view (last 30 days)
Halim
Halim on 5 Apr 2012
does anyone know how to capture and save image from live webcam using vcapg2??

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!