how to have stream video from my ipcam to matlab

5 次查看(过去 30 天)
this function it's for stream image. please I would like to have for video stream function. Thank you, best regard
url = 'http://192.168.0.3:8080/shot.jpg';
ss=imread(url);
fh = imshow(ss, 'Parent', handles.axes1);
while(1)
ss=imread(url);
set(fh,'CData',ss);
drawnow;
end

回答(3 个)

Walter Roberson
Walter Roberson 2015-9-24
Note: not all cameras support the streaming frame mode needed for ipcam . You need a different URL than what you show in order to get it to work when the device supports it at all. When devices only support taking jpeg snapshots then ipcam() is not appropriate.
  14 个评论
Walter Roberson
Walter Roberson 2015-10-8
编辑:Walter Roberson 2015-10-8
Then you can use the dyndns application I linked to above, and you can use the ip webcam program listed in previous discussions.
Tiwa Romuald
Tiwa Romuald 2015-10-8
i alredy installed Dyndns. please can you explain or give me an example of full function? because i don't know i process now. thank you. sorry Walter

请先登录,再进行评论。


Image Analyst
Image Analyst 2015-10-7
Perhaps install the IP camera hardware support package first from the Add-Ons drop down button in the Environment section of the "Home" tab/ribbon. See the instructions here: http://www.mathworks.com/videos/webcam-support-101624.html. Make sure you select ipcam on the listbox that appears:

Jun ady
Jun ady 2019-10-14
how to realtime ip camera get snapshot/

类别

Help CenterFile Exchange 中查找有关 MATLAB 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