Capture an image from webcam
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi! I have a webcam.I want to capture an image from webcam and the save that picture into some type of image (*.jpg,*.png...).Can you tell me how can I do that.Thanks a lot
0 comentarios
Respuestas (1)
Chirag Gupta
el 22 de Abr. de 2011
The Image Acquisition Toolbox should be able to help you achieve that. The commands are straightforward.
The command would just be:
vidobj = videoinput('winvideo');
snapshot = getsnapshot(vidobj);
imagesc(snapshot)
2 comentarios
Chirag Gupta
el 25 de Abr. de 2011
You could post this as a separate question with a title like image processing. This way you could get the Image Processing gurus to step in
Ver también
Categorías
Más información sobre Read, Write, and Modify Image en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!