how to have stream video from my ipcam to matlab
조회 수: 3 (최근 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
댓글 수: 0
답변 (3개)
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
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.
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/178624/image.png)
참고 항목
카테고리
Help Center 및 File 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!