Capture an image from webcam
2 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Chirag Gupta
2011 年 4 月 22 日
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 件のコメント
Chirag Gupta
2011 年 4 月 25 日
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
参考
カテゴリ
Help Center および File Exchange で Read, Write, and Modify Image についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!