-
Notifications
You must be signed in to change notification settings - Fork 765
How do I use Kinect v2 as webcam after installing LibFreeNect2? #1151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Please install OpenCV and try streamer_recorder function following this: Linux
|
Thanks, I installed opencv3 and ran
|
Hope this will help you. |
I ran that script and it opened a window which showed the correct kinect capture, but still there is no option for kinect on software that uses webcam. |
i came as far as this goes. With 4 individual windows for ir, color, depth and combined input now on my screen I have no idea what do do or how to access those streams.
|
Unlike Kinect Azure or other cameras like RealSense, Kinect 2 cameras do not show up in Linux as "video devices" with libfreenec2, which is not really a L4V2 video driver. To make your Kinect 2 as a video cam in Linux (compared to what users would do via Syphon on OS X or Spout2 on Windows), you need to modify Protonect to write color frames into a virtual L4V2 loopback device. Then that device can be used in any other app as a webcam. You will have to install https://github.com/umlaeute/v4l2loopback first, then write your Kinect 2 frames into it. |
Another option is to screen capture the Protonect window, and crop it. Kind of clumsy, but works. |
I'm using Manjaro Linux and I want to use my XBOne Kinect as a webcam device.
I have installed Libfreenect2 and the Kinect works when I run Protonect.
The text was updated successfully, but these errors were encountered: