how to get a live video and also take snapshots from the video simultaneously using an IP Camera? and how to save multiple images produced from live camera?

2 ビュー (過去 30 日間)
1. how to get the live video and snapshots simultaneously using an IP Camera? I tried taking a live video and snapshots using a Webcam and it works but with IP Camera it is not working.
2. how to save multiple pictures taken from webcam ?
i am able to save only 1 image and it is getting overwritten everytime i run the program becasue i have mentioned the image name.
vid = videoinput('winvideo',1);
preview(vid);
start(vid);
set(vid, 'ReturnedColorSpace', 'RGB');
im = getsnapshot(vid);
figure,imshow(im);
imwrite(im,'C:\Users\SHRUTHI\Desktop\neural\shru\pics\myfirstimage.jpg');

回答 (2 件)

Mark Jones
Mark Jones 2013 年 10 月 23 日
Hi Shruthi,
What kind of IP Camera are you trying to use?
Mark
  2 件のコメント
harshan shyam
harshan shyam 2016 年 9 月 12 日
I face he same problem in ipcamera.. I use dlink 930L..pls help
Walter Roberson
Walter Roberson 2016 年 9 月 12 日
You would use ipcam() to link to an IP camera, not videoinput()

サインインしてコメントする。


Walter Roberson
Walter Roberson 2013 年 10 月 23 日

カテゴリ

Help Center および File ExchangeMATLAB Support Package for IP Cameras についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by