MATLAB: How to insert live image into a MATLAB GUI using Image Acquisition Toolbox? i m developing a face recognition system. And i have to capture image from webcam and store it ,in a specified image size.

#face recognitionguiImage Acquisition Toolboxwebcam

I m developing a face recognition system. And i have to capture image from webcam and store it ,in a specified image size,like 92×112.Please help

Best Answer

vidobj = videoinput('winvideo');
snapshot = getsnapshot('vidobj');
I=imresize(snapshot,[92 112])