Taking images from IP Camera on MATLAB Online

4 ビュー (過去 30 日間)
Saitarun
Saitarun 2025 年 5 月 13 日
回答済み: Jacob Mathew 2025 年 5 月 15 日
Hi,
I want to use MATLAB online to aquire images from an IP Camera. However, MATLAB online doesn't seem to support IP cameras at the moment. Are there any alternative methods I can use to get images from the camera ?

回答 (1 件)

Jacob Mathew
Jacob Mathew 2025 年 5 月 15 日
Hey Saitarun,
You could try to use the webread method to read data from URL along with any necessary web options parameter. This can be stored in a variable and then using methods like imshow, you can view the image. The following code demonstrates this and works in MATLAB Online:
options = weboptions(); % If needed, you can set any username and password or any other options
img = webread('https://picsum.photos/200', options); % Third party lorem ipsum image
imshow(img);
You can refer to the following documentation to learn more:

カテゴリ

Help Center および File ExchangeMATLAB Support Package for IP Cameras についてさらに検索

製品


リリース

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by