Skip to content

Instantly share code, notes, and snippets.

View tehknox's full-sized avatar

Frédérick Lebel tehknox

  • Let's Code
  • Montréal, Canada
View GitHub Profile
@vins31
vins31 / opencvni.cpp
Last active July 6, 2021 15:48
Sample to grab depth frames from an Asus Xtion or Occipital Structure depth sensor with OpenNI2 and OpenCV3
/*
* Build command:
* g++ -o opencvni opencvni.cpp `pkg-config --cflags --libs opencv`
*/
#include "opencv2/videoio/videoio.hpp"
#include "opencv2/highgui/highgui.hpp"
#include <iostream>