18
Hacking the Kinect AVI SINGH

Hacking the Kinect - Indian Institute of Technology Kanpurstudents.iitk.ac.in/eclub/assets/lectures/embedded14/kinect.pdf · Skeleton Tracking Gesture Recognition Facial Recognition

Embed Size (px)

Citation preview

Page 1: Hacking the Kinect - Indian Institute of Technology Kanpurstudents.iitk.ac.in/eclub/assets/lectures/embedded14/kinect.pdf · Skeleton Tracking Gesture Recognition Facial Recognition

Hacking the Kinect

AVI SINGH

Page 2: Hacking the Kinect - Indian Institute of Technology Kanpurstudents.iitk.ac.in/eclub/assets/lectures/embedded14/kinect.pdf · Skeleton Tracking Gesture Recognition Facial Recognition

ContentsThe Kinect Hardware

The Official Microsoft Kinect SDK

Kinect with open-source libraries (briefly)

Page 3: Hacking the Kinect - Indian Institute of Technology Kanpurstudents.iitk.ac.in/eclub/assets/lectures/embedded14/kinect.pdf · Skeleton Tracking Gesture Recognition Facial Recognition

How is the Kinect different from any other camera?

Kinect is a 3D camera!

Along with the RGB values of every pixel, it also

gives you the depth values associated with every

pixel.

It uses structured infrared light to determine depth

values.

Page 4: Hacking the Kinect - Indian Institute of Technology Kanpurstudents.iitk.ac.in/eclub/assets/lectures/embedded14/kinect.pdf · Skeleton Tracking Gesture Recognition Facial Recognition

False Colour Depth Image

Page 5: Hacking the Kinect - Indian Institute of Technology Kanpurstudents.iitk.ac.in/eclub/assets/lectures/embedded14/kinect.pdf · Skeleton Tracking Gesture Recognition Facial Recognition

Edge Detection with the Depth Data

Page 6: Hacking the Kinect - Indian Institute of Technology Kanpurstudents.iitk.ac.in/eclub/assets/lectures/embedded14/kinect.pdf · Skeleton Tracking Gesture Recognition Facial Recognition

The Kinect Hardware

Page 7: Hacking the Kinect - Indian Institute of Technology Kanpurstudents.iitk.ac.in/eclub/assets/lectures/embedded14/kinect.pdf · Skeleton Tracking Gesture Recognition Facial Recognition

The Kinect Hardware

Page 8: Hacking the Kinect - Indian Institute of Technology Kanpurstudents.iitk.ac.in/eclub/assets/lectures/embedded14/kinect.pdf · Skeleton Tracking Gesture Recognition Facial Recognition

Microsoft Kinect SDK

Page 9: Hacking the Kinect - Indian Institute of Technology Kanpurstudents.iitk.ac.in/eclub/assets/lectures/embedded14/kinect.pdf · Skeleton Tracking Gesture Recognition Facial Recognition

Microsoft Kinect SDKThe official software development kit from Microsoft.

Closed-Source binary (black boxes)

Skeleton Tracking

Gesture Recognition

Facial Recognition and tracking

Microsoft Speech APIs

Kinect Fusion

Apart from these, you also have access to raw RGB-D data, and even the raw infrared data (disparity map).

Program in C#, C++

Page 10: Hacking the Kinect - Indian Institute of Technology Kanpurstudents.iitk.ac.in/eclub/assets/lectures/embedded14/kinect.pdf · Skeleton Tracking Gesture Recognition Facial Recognition
Page 11: Hacking the Kinect - Indian Institute of Technology Kanpurstudents.iitk.ac.in/eclub/assets/lectures/embedded14/kinect.pdf · Skeleton Tracking Gesture Recognition Facial Recognition

Kinect Fusion

Page 12: Hacking the Kinect - Indian Institute of Technology Kanpurstudents.iitk.ac.in/eclub/assets/lectures/embedded14/kinect.pdf · Skeleton Tracking Gesture Recognition Facial Recognition

Kinect and open-source

Page 13: Hacking the Kinect - Indian Institute of Technology Kanpurstudents.iitk.ac.in/eclub/assets/lectures/embedded14/kinect.pdf · Skeleton Tracking Gesture Recognition Facial Recognition

To use Kinect with openCV / PCL

You will first need to install the open source

Kinect drivers i.e. OpenNI 1.5.x

You will then need to compile and install

openCV (configured to be used with Kinect

or other 3D sensors)

A similar process needs to be followed

when using the Point Cloud Library.

Page 14: Hacking the Kinect - Indian Institute of Technology Kanpurstudents.iitk.ac.in/eclub/assets/lectures/embedded14/kinect.pdf · Skeleton Tracking Gesture Recognition Facial Recognition

Why open source libraries?There are no black-boxes!

Use on any platform (UNIX/Linux/OS-X), not just windows.

You can view any piece of code in the library, and edit it if you want.

openCV is useful when you need a strong mix of RGB + Depth Image processing

Point Cloud Library is useful for reconstructing 3D scenes, and for applying complex point cloud algorithms.

Page 15: Hacking the Kinect - Indian Institute of Technology Kanpurstudents.iitk.ac.in/eclub/assets/lectures/embedded14/kinect.pdf · Skeleton Tracking Gesture Recognition Facial Recognition

The Alternatives:

Asus Xtion PROPrimeSense Carmine

Page 16: Hacking the Kinect - Indian Institute of Technology Kanpurstudents.iitk.ac.in/eclub/assets/lectures/embedded14/kinect.pdf · Skeleton Tracking Gesture Recognition Facial Recognition

Kinect 2.0

Page 17: Hacking the Kinect - Indian Institute of Technology Kanpurstudents.iitk.ac.in/eclub/assets/lectures/embedded14/kinect.pdf · Skeleton Tracking Gesture Recognition Facial Recognition

The Future- The Project Tango

Page 18: Hacking the Kinect - Indian Institute of Technology Kanpurstudents.iitk.ac.in/eclub/assets/lectures/embedded14/kinect.pdf · Skeleton Tracking Gesture Recognition Facial Recognition

Questions?