Questions tagged [libfreenect2]

"Driver for Kinect for Windows v2 (K4W2) devices (release and developer preview). Note: libfreenect2 does not do anything for either Kinect for Windows v1 or Kinect for Xbox 360 sensors. Use libfreenect1 for those sensors."

Driver for Kinect for Windows v2 (K4W2) devices (release and developer preview). Note: libfreenect2 does not do anything for either Kinect for Windows v1 or Kinect for Xbox 360 sensors. Use libfreenect1 for those sensors.

For more details see libfreenect2 on github

36 questions
14
votes
1 answer

Vectorizing the Kinect real-world coordinate processing algorithm for speed

I recently started working with the Kinect V2 on Linux with pylibfreenect2. When I first was able to show the depth frame data in a scatter plot I was disappointed to see that none of the depth pixels seemed to be in the correct location. Side view…
Logic1
  • 1,806
  • 3
  • 26
  • 43
6
votes
1 answer

How to setup OpenNI2 and NITE with libfreenect2 for skeleton tracking on OSX?

I've just setup libfreenect2 on OSX 10.11.5 and I can successfully run the Protonect demo displaying RGB/IR/depth streams, but I'd like to use OpenNI/NITE for skeleton tracking as well. I've followed the instructions in the repo's README file for…
George Profenza
  • 50,687
  • 19
  • 144
  • 218
4
votes
0 answers

How to get the z coordinate (distance) from a Kinect v2 RGB coordinate?

I am trying to convert libfreenect RGB coordinates into DEPTH coordinates, in order to find the z coordinate (distance of object). I tried so many things but I was not able to get the resolutions right. Any ideas? I am using rgbmat in order to apply…
Engo
  • 899
  • 3
  • 19
  • 49
3
votes
0 answers

How to get camera intrinsics and extrinsics in openni2?

I have a primesense carmine 1.08 and carmine 1.09. I need the intrinsic parameters for the RGB and the IR camera and the extrinsics between the two. I use pcl with openni2 support. So I need to know the sensor parameters used by openni2/pcl. Is…
3
votes
1 answer

How to make listener accessible for other functions in C++?

I want to make the following listener accessible for my getFrames() function. How can I do this? I tried this by adding the listener to my private fields, but I still get the following error on listener(libfreenect2::Frame::Color |…
Engo
  • 899
  • 3
  • 19
  • 49
2
votes
0 answers

Converting OpenCV Mat to Libfreenect2 Frame for Registration

I need to reconstruct a PointCloud using libfreenect2 registration::apply with color/depth images. The problem is I pre-saved the color & depth images as PNG files. Both color & depth images was obtained using libfreenect2::Frame and converted to a…
2
votes
0 answers

Could Not Find LibUSB when Building libfreenect2

When I follow the instruction on https://github.com/OpenKinect/libfreenect2 to install libfreenect2 on Windows 10. I have trouble building libUSB related files. Initially, I installed libUSB using git but I received following message (but not…
2
votes
0 answers

Kinect v2 does not work as webcam for tool but for libfreenect2

I want to use my Kinect v2 as a webcam for some tools which requires a webcam as an input device as example cheese. However, I am able to start protonect from libfreenect2 like described at the bottom of this page:…
Rantir
  • 111
  • 1
  • 1
  • 11
2
votes
0 answers

Why does the CMake command show "The source directory "/home/shubham" does not appear to contain CMakeLists.txt."?

I am installing libfreenect2 on Linux. I am following the steps given in https://github.com/OpenKinect/libfreenect2. Command cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/freenect2" gives me an error: "CMake Error: The source directory "/home/shubham"…
Shubham D
  • 79
  • 1
  • 7
2
votes
1 answer

Kinect V2 depth image produces strange point cloud coordinates when using getPointXYZ() from pylibfreenect2?

I am trying to generate the real-world coordinates from my MS Kinect V2. I have managed to piece together a pyqt + opengl scatter plot and show the depth data from the Kinect using pylibfreenect2. I noticed immediately that the depth data was not…
Logic1
  • 1,806
  • 3
  • 26
  • 43
1
vote
1 answer

WSL Ubuntu - making libfreenect - CYTHON_EXECUTABLE-NOTFOUND

I am trying to build libfreenect in WSL in Ubuntu. I'm currently facing a problem identified by this line: /bin/sh: 1: CYTHON_EXECUTABLE-NOTFOUND: not found at the end of this log: endeavour@DZHPwindows:~/libfreenect/build$ make [ 16%] Built target…
DunZek
  • 33
  • 5
1
vote
0 answers

Multiple read access on Kinect v2, Docker

Sorry, I couldn't find a perfect title for my issue. I have the following situation: I am doing body pose tracking, using a motion capturing system (http://openptrack.org/) which runs encapsulated inside a Docker on my Ubuntu 16.04. I am using a…
1
vote
0 answers

Error in Libfreenect2 for Kinectv2

I'm trying to use libfreenect2 in python 3.6 for getting the depth matrix of the Kinectv2. But there's an error. Take a look at the code. import freenect2 import cv2 import numpy as np """ Grabs a depth map from the Kinect sensor and creates an…
Warlord
  • 33
  • 1
  • 6
1
vote
1 answer

lib-usb and libfreenect2 on Mac OS X

I work on MacOS X Yosemite (10.10.5). I'm trying to install libfreenect2 on Mac OS X When I do "cmake .." from the build directory of libfreenect2. I followed all the instructions given in the installation page. When I do the command "cmake .." from…
Yvanou
  • 93
  • 1
  • 3
  • 7
1
vote
2 answers

Libfreenect wrong depth map

I've been using OpenNI+PrimeSense+NiTE with OpenCV on my project to segment objects according to their distances. However I meant to deploy it in a NVIDIA Jetson TX1 board and it couldn't manage to compile OpenNI+PrimeSense+NiTE with OpenCV on it. I…
Dourado
  • 23
  • 4
1
2 3