Error receiving..... data from the remote server.

I would like to ceate connection to Raspberry Pi web camera. Connection to Pi don't generate any problems,but I get communicate like in title after usuing 'webcam' command.
mypi = raspi();
wcam = webcam(mypi);
for ii = 1:10
img = snapshot(wcam)
imagesc(img)
drawnow
end
>> wcam = webcam(mypi);
Error receiving..... data from the remote server.
mypi =
raspi with properties:
BoardName: 'Raspberry Pi 3 Model B'
AvailableLEDs: {'led0'}
AvailableDigitalPins: [4,5,6,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]
AvailableSPIChannels: {'CE0','CE1'}
AvailableI2CBuses: {'i2c-1'}
AvailableWebcams: {'/dev/video0','/dev/video1','/dev/video10','/dev/video11','/dev/video12'}
I2CBusSpeed: 100000

3 件のコメント

Diego Sosa
Diego Sosa 2020 年 8 月 17 日
I've been having the same problem I tried to create the connection with mi webcam.
>> cam=webcam(r)
Error receiving..... data from the remote server.
Ibrahim Faheem
Ibrahim Faheem 2021 年 2 月 13 日
did u find any solution to this
adnan el hammoudi
adnan el hammoudi 2021 年 3 月 12 日
turn off the firewall and
try to write this w = webcam(r,2);
change the camera index number until it works .

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB Support Package for Raspberry Pi Hardware についてさらに検索

質問済み:

2020 年 3 月 27 日

コメント済み:

2021 年 3 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by