Kinect 2 Interface for Matlab

版本 3.2.2.0 (1.3 MB) 作者: Juan R. Terven
Kin2 Toolbox
6.1K 次下载
更新时间 2017/7/5

C++ wrapper functions for the Microsoft Kinect 2, using Microsoft SDK.
Requirements:
- Kinect2 SDK. http://www.microsoft.com/en-us/download/details.aspx?id=44561
- Visual Studio 2012 or newer compiler
- MATLAB 2013a or newer (for Visual Studio 2012 support)
- MATLAB 2015b or newer for pointCloudDemo2, which uses MATLAB's built-in pointCloud object
Usage:
1) Set the compiler using mex -setup C++
2) Open compile_cpp_files and set the include and lib paths of Kinect2 SDK (see the provided paths)
3) Add to the windows path the bin directory containing the Kinect20.Fusion.dll and Kinect20.Face.dll
For example: C:\Program Files\Microsoft SDKs\Kinect\v2.0_1409\bin
4) If you modify Windows path, close Matlab and open it again in order to detect the changes.
3) Run compile_cpp_files.m
Demos:
1) videoDemo.m: displays depth, color, and infrared video.
2) mappingDemo.m: displays depth and color video, and allows to map points from one image to the other (See usage comments at the beginning of the script).
3) mapping2CamDemo.m: displays depth and color and allows to map points from depth and color to camera space and viceversa.
4) bodyDemo.m: displays depth and color and the skeleton on both images
5) pointCloudDemo.m: displays depth and a colored point cloud on a scatter3
6) pointCloudDemo2.m displays depth and a colored point cloud using MATLAB's built-in pointCloud object and pcshow.
7) bodyIndexDemo.m: displays body index frames
8) faceDemo.m: detect and track faces showing the facial landmarks and face properties
9) faceHDDemo.m: detect and track faces showing the 17 animation units and the high definition model
10) faceHDDemo2.m: builds a face model for the user and track the faces using this model.
11) kinectFusionDemo.m: demonstrates the use of Kinect Fusion. This is still in BETA. Need fixing memory leakage in C++ causing MATLAB to crash on a second run.
12) calibrationDemo.m: obtain depth camera intrinsic parameters and color camera parameters.

引用格式

Juan R. Terven (2024). Kinect 2 Interface for Matlab (https://github.com/jrterven/Kin2), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2013a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
3.2.2.0

- Add timestamp to getDepth, getColor, getInfrared and getBodies

3.2.1.0

- Added Floor Clip Plane to getBodies

3.2.0.0

- Colored point cloud, improved color camera calibration, face capture

3.1.1.0

- Minor fix
- Added Joint orientations to getBodies method

3.1.0.0

- Added cameras calibration
- Minor update

3.0.0.0

- Minor updates
- Added Face, HD face, and 3D reconstruction using Kinect Fusion.

2.1.0.0

- Added getPointCloud function

2.0.0.0

- Mapping from depth and color to camera space and vice versa
- Skeleton tracking
- Update file

1.2.0.0

Map multiple points between depth and color images

1.1.0.0

- Added coordinate mapping between depth and color images.

1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库