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

5 次查看(过去 30 天)
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)

类别

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