How can I 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.

1 view (last 30 days)
I m developing a face recognition system. And i have to capture image from webcam and store it ,in a specified image size,like 92x112.Please help

Accepted Answer

Dishant Arora
Dishant Arora on 4 Mar 2014
vidobj = videoinput('winvideo');
snapshot = getsnapshot('vidobj');
I=imresize(snapshot,[92 112])

More Answers (0)

Community Treasure Hunt

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

Start Hunting!