The MS Azure Kinect kinfu example, with dlls compiled for Windows x64 (to save us all the trouble of wrangling its 25GB of dependencies for a 35MB app).
The Azure Kinect - OpenCV KinectFusion sample shows how to use the Azure Kinect SDK with the KinectFusion from opencv_contrib’s rgbd module (https://github.com/opencv/opencv_contrib/tree/master/modules/rgbd). This sample demonstrates how to feed calibration and undistorted depth images from Azure Kinect to the OpenCV’s KinectFusion module. We render live KinectFusion results and generate fused point cloud as ply when user exits application.
The sample requires user having OpenCV/OpenCV_Contrib/VTK installed. The following steps are tested on Windows with OpenCV 4.1.0 (user should configure the right path of OpenCV dependencies):
Includes:
extern\opencv-4.1.0\include
extern\opencv_contrib-4.1.0\modules\rgbd\include
extern\opencv_contrib-4.1.0\modules\viz\include
Libs:
extern\lib\Debug\opencv_calib3d410d.lib
extern\lib\Debug\opencv_core410d.lib
extern\lib\Debug\opencv_highgui410d.lib
extern\lib\Debug\opencv_imgproc410d.lib
extern\lib\Debug\opencv_rgbd410d.lib
extern\lib\Debug\opencv_viz410d.lib
extern\lib\Release\opencv_calib3d410.lib
extern\lib\Release\opencv_core410.lib
extern\lib\Release\opencv_highgui410.lib
extern\lib\Release\opencv_imgproc410.lib
extern\lib\Release\opencv_rgbd410.lib
extern\lib\Release\opencv_viz410.lib
<AdditionalDependencies>%(AdditionalDependencies);opencv_core410.lib;opencv_calib3d410.lib;
opencv_rgbd410.lib;opencv_highgui410.lib;opencv_viz410.lib;opencv_imgproc410.lib;</AdditionalDependencies>
Usage: kinfu_example.exe [Optional]<Mode>
Mode: nfov_unbinned(default), wfov_2x2binned, wfov_unbinned, nfov_2x2binned
Keys: q - Quit
r - Reset KinFu
v - Enable Viz Render Cloud (default is OFF, enable it will slow down frame rate)
w - Write out the kf_output.ply point cloud file in the running folder
* Please ensure to uncomment HAVE_OPENCV pound define to enable the opencv code that runs kinfu
* Please ensure to copy opencv/opencv_contrib/vtk dlls to the running folder
Example:
Usage: kinfu_example.exe