Intel Realsense d435
Hi, can I use my intel realsense as a webcam. For example, I want to use the intel realsense d435 for my face recognition project (python) which previously use a logitech webcam. Can I use intel realsense to replace the webcam? does it require other modules or libraries?
-
Hi Wildanazman072 A RealSense camera can be used as a video webcam outside of the RealSense SDK. On Windows, a program that uses video webcam such as Skype or Discord can display live video from the camera simply by using its Intel RealSense Depth Camera RGB driver (listed in the Windows Device Manager).
On Linux you should be able to access the RGB stream from an non-RealSense Linux application via its /video channel number. On D435 the defaults should be /video0 for depth, /video1 for Infrared and /video2 for RGB, as described by a RealSense team member at the link below.
https://github.com/IntelRealSense/librealsense/issues/3416#issuecomment-471720605
-
I note that you have "RGB Module Depth" highlighted in the image above. Does it also fail with RGB Module RGB selected?
On some non-RealSense video applications, a RealSense camera may also fail to appear until you switch the camera to reverse / rear view. On Google Meet this is done by going to the top right corner and selecting the Switch camera option.
-
Are you using Windows? If so, could you type camera into the text box at the bottom of the Windows screen (next to the corner button where the PC is shut down) to find the Windows Camera app.
On the Camera app with a D435i on my own computers, there is a start-up error message when switching to reverse view with the icon in the top corner but then RGB video is viewable normally after clicking the Close button.
-
If it is a simple phone charging cable then it would not be a good match for a RealSense camera, which can transmit high volumes of data. A cable capable of data transfer should be used. I recommend searching stores such as Amazon for the term usb c to c data transfer to see examples of such cables.
Though if you are using the same phone cable with the Viewer and it works correctly then that would suggest that the cable is not at fault.
-
Do you still experience the problem with accessing the streams outside the RealSense SDK if you use the procedure at the link below to completely remove and re-install the Depth and RGB drivers from the Windows Device Manager?
https://support.intelrealsense.com/hc/en-us/community/posts/4419989666323/comments/4431239847443
-
The displayed names of your Depth and RGB drivers are correct for the D435 model. So it does not look like a fault with the drivers.
I tested the camera in the Windows Camera video app in USB 2.1 mode and confirmed that Camera could display RGB video correctly on a USB 2.1 connection.
I note that the camera firmware driver that you are using is not mentioned so far in this discussion. Which firmware version is your D435 using, please? If you do not know then you can find it by clicking the 'Info' button with the 'i' symbol at the top of the options side-panel of the RealSense Viewer.
-
Thank you, your firmware version looks fine.
When you try to access the camera in a video application, can you confirm that the camera is not already being actively used in another application such as RealSense Viewer and that the video-using application such as Google Meet is the only program that you have running?
Please sign in to leave a comment.
Comments
16 comments