How to read live stream from Insta360 One X camera using MatLab?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Jacob Mathew
le 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 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 commentaire
cui,xingxing
le 6 Sep 2024
@Jacob Mathew It would be nice if RTMP protocol reading was supported, such as ipcam or VideoReader functions
Voir également
Catégories
En savoir plus sur MATLAB Support Package for IP Cameras dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!