How to read live stream from Insta360 One X camera using MatLab?

조회 수: 2 (최근 30일)
Ansuman Mahapatra
Ansuman Mahapatra 2021년 2월 15일
댓글: cui,xingxing 2024년 9월 6일
I have a Insta 360 One X and I want to read the live feed from that 360 camera. Is it possible using MatLab?

답변 (1개)

Jacob Mathew
Jacob Mathew 2024년 5월 10일
After going through your question, I understand that you want to connect a third-party camera to MATLAB to be able to live stream video.
To achieve this, connect your Insta360 camera to your PC via USB. Ensure that USB drivers as well as the device is updated to ensure smooth operation.
Then, within your Insta 360 One X, ensure that the USB mode is set to Webcam mode. This ensures that your PC picks this up as an external camera.
Once this is done, you can run the following command to see the list of available cameras to MATLAB:
webcamlist
Note that you will need to install “MATLAB Support Package for USB Webcamssupport package if you haven’t already to be able to run this command. You can download it from the following link: https://www.mathworks.com/hardware-support/matlab-webcam.html?s_tid=AO_HS_info
If everything went correctly, you should see your Insta 360 One X as one of the available webcams. You can then connect to it using the following command:
cam = webcam('You Camera Name Here')
Ensure that you replace “Your Camera Name Here” with the appropriate name that your Insta 360 One X shows up in MATLAB.
Finally, to see the output of the camera, run the following command:
preview(cam)
  댓글 수: 1
cui,xingxing
cui,xingxing 2024년 9월 6일
@Jacob Mathew It would be nice if RTMP protocol reading was supported, such as ipcam or VideoReader functions

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile 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!

Translated by