raspberry pi web cam server
6 次查看(过去 30 天)
显示 更早的评论
I am doing operations as described here, but matlab can not read video .why? https://pimylifeup.com/raspberry-pi-webcam-server/
my code:
raspberry_web_server = 'http://192.168.1.23:8081//shot.jpg';
frames = 0;
red_t=0.18;
i=0;
while (frames <= 12)
data= imread(raspberry_web_server);
frames = frames + 1;
diff_im = imsubtract(veri(:,:,1), rgb2gray(data));
diff_im = medfilt2(diff_im, [3 3]);
...
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Support Package for Raspberry Pi Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!