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

4 Ansichten (letzte 30 Tage)
Ansuman Mahapatra
Ansuman Mahapatra am 15 Feb. 2021
Kommentiert: cui,xingxing am 6 Sep. 2024
I have a Insta 360 One X and I want to read the live feed from that 360 camera. Is it possible using MatLab?

Antworten (1)

Jacob Mathew
Jacob Mathew am 10 Mai 2024
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 Kommentar
cui,xingxing
cui,xingxing am 6 Sep. 2024
@Jacob Mathew It would be nice if RTMP protocol reading was supported, such as ipcam or VideoReader functions

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB Support Package for IP Cameras finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by