How to read live stream from Insta360 One X camera using MatLab?
5 views (last 30 days)
Show older comments
I have a Insta 360 One X and I want to read the live feed from that 360 camera. Is it possible using MatLab?
0 Comments
Answers (1)
Jacob Mathew
on 10 May 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 Webcams” support 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 Comment
cui,xingxing
on 6 Sep 2024
@Jacob Mathew It would be nice if RTMP protocol reading was supported, such as ipcam or VideoReader functions
See Also
Categories
Find more on MATLAB Support Package for IP Cameras in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!