how to get a live video and also take snapshots from the video simultaneously using an IP Camera?
1 次查看(过去 30 天)
显示 更早的评论
Hi, please tell me on how to get the live video and snapshots simultneously using an IP Camera? I tried taking a live video and snapshots using a Webcam and it works but with IP Caera it is not working.
0 个评论
回答(1 个)
ITACHI UCHIHA
2016-10-18
url = 'http://192.168.43.1:8080/shot.jpg';%ip address for steaming %in place of 8080 you have to write your port no which you are going to use %generally it is 8080 for mac book ss = imread(url);%reads the data sent via url. here the data is in the form of image
fh = image(ss);%stores the data in image format
%to take the live streaming of the images or simply the vedio is taken while(1) ss = imread(url); set(fh,'CData',ss); drawnow; end
0 个评论
另请参阅
类别
在 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!