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
0
votes
0 answers

How to correctly use cv::merge to merge 3 splitted channels

Using libfreenect2 I'm able to get an rgba image in a 4 channels cv::mat tanks to these 3 lines which are working : cv::Mat rgba_mat; libfreenect2::Frame *rgba = frames[libfreenect2::Frame::Color]; cv::Mat(rgba->height, rgba->width, CV_8UC4,…
Bastienm
  • 363
  • 2
  • 16
0
votes
0 answers

How to correctly import freenect2 using cmake?

I have to use a kinect2 (ubuntu 16.04 LTS). So I installed several things : OpenNi (https://github.com/OpenNI/OpenNI) OpenNi2 (https://github.com/occipital/openni2 libfreenect, (because I used the first kinect before)…
Bastienm
  • 363
  • 2
  • 16
0
votes
1 answer

Libfreenect2 USB connection failure

I have been trying to get the libfreenect2 library up and running on my Windows 10 machine and I have run into an issue that I can't get past. I have build the library and it's examples. The issues I have is when I go to run the "Protonect" example…
Wired365
  • 199
  • 1
  • 13
0
votes
1 answer

/usr/include/libfreenect.hpp:33: error: libusb.h: No such file or directory

I installed libfreenect. I opened QT and began to coding. When I use libfreenect.h no error occurres. But when I use libfreenect.hpp, this error occurred:"error: libusb.h: No such file or directory" contents of .pro file is: QT += core QT -=…
ma98
  • 83
  • 3
  • 14
0
votes
1 answer

qt add library freenect

I installed libfreenect on Ubuntu 16.04. Then when I added its libraries in Qt, the following error occurred. I tried adding libusb-1.0. I typed this in the terminal: pkg-config libusb-1.0 --libs --cflags -I/usr/include/libusb-1.0 -lusb-1.0 The…
ma98
  • 83
  • 3
  • 14
0
votes
1 answer

C++ Kinect v2 & freenect2: how to convert depth data to real world coordinates

I am trying to compute real world xyz coordinates using a Kinect v2 camera (in Linux), but my computation give me wrong results. Here is the code: cv::Point3f xyzWorld={0.0f}; xyzWorld.z = pointDepth; xyzWorld.x = (float) ((float)x -(depthcx)) *…
zbar
  • 25
  • 5
1 2
3