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 vue (au cours des 30 derniers jours)
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

Réponse acceptée

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

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by