Intel RealSense Depth Camera Module D421 not working with python code
I am facing problem when I try to connect my Intel® RealSense™ Depth Camera Module D421 using python code. When I try to connect the camera using python code it is not recognizing. It shows as "No device connected". Currently I am using windows. So when I use this "Intel.RealSense.Viewer.beta.exe" viewer the camera is recognizing it and showing the camera feed. But when I try to connect using python code it is showing "No device connected".
Is there anything I need to check during the development using python?
-
Hi Pratheeshprem In Ubuntu, one method for getting a program to detect the camera is to launch a program (such as a Python script) in sudo admin permissions mode. If you have Windows 11 then it is possible to enable sudo mode on Windows, so that you can then run your script with admin powers by placing the word sudo in front of the launch command - for example, sudo python3 test.py
Instructions for enabling sudo in Windows 11 can be found here:
https://learn.microsoft.com/en-us/windows/advanced-settings/sudo/
Please sign in to leave a comment.
Comments
1 comment