SlideShare a Scribd company logo
T he N ot So Short
I ntroduction to Kinect
一份不太简短的 Kinect介绍
Hang xie
sonicisdreaming@gmail.com
http://Xhbang.com
About M e

Chongqing University bachelor (单身汉
)
A boy couldn't stop dreaming
Bike travelling
About Him

•Dr.
•Sensor related
•Poet (魔幻现实主义)
About the Lab

•50% Idle
•25% Computer
•20% Programmer
•5% Student/Paper
About You?

Programming dummy?
Linux || Windows?
Understand 3D?
Work with the Kinect?
T he Contents
wha u will lea toda
    t         rn   y
体感操作, Kinect , OPENNI 介绍
基本程序设计
Working with Depth Image
Working with Point Clouds ( * )
Working with Skeleton Data & Tracking
Kinect Hacks
昨夜西风凋碧树 , 独上高楼 , 望尽天涯
          路
The not so short introduction to Kinect
The not so short introduction to Kinect
Buy it!
I nside Kinect

Teardown
Principle
Hardware
Performace
Hardware & teardown
http://www.ifixit.com/Teardown/Microsoft-Kinect-Teardown
The not so short introduction to Kinect
The not so short introduction to Kinect
Kinect Ha re
         rdwa

•RGB camera
•IR depth sensor
•IR projector
•Audio device
The not so short introduction to Kinect
The not so short introduction to Kinect
The not so short introduction to Kinect
The not so short introduction to Kinect
The not so short introduction to Kinect
T a a closer look
   ke

Noise at edges(shoulders)
Depth shadows
Misalignment between the color and depth images
Frame rate(30 vs 60)
Behind Kinect
T OF

•Time of Flight
•以色列公司 3DV ( 09 年微软收购
)
•光飞行时间,飞秒 (1e−15) 级快门
•砷化镓,使其时钟频率提高到上百
•高成本,难以适应消费电子品
Light Coding (光编码)

            •连续的照明(而非脉冲)
            •普通的 CMOS 感光芯片(低成本)
            •结构光技术(三维纵深的“体编码”
            )
            •激光散斑( laser speckle )
http://www.freepatentsonline.com/7433024.pdf
http://www.wipo.int/pctdb/en/wo.jsp?WO=2007043036
http://www.javaforge.com/wiki/103639
The not so short introduction to Kinect
Exemplar

•机器学习系统
•TB 计的数据训练集

4.寻找移动部位(背景分离,分割遮罩)
5.辨认身体部位可能性
6.模型匹配:生成骨架系统
The not so short introduction to Kinect
Audio

•Something we forget
•Supported by OpenNI, not by
SensorKinect
M ore About Audio (题外话)

•“Sound Wave”
•微软研究院和华盛顿大学
•利用多普勒效应,使用笔记本内置的扬声器和麦
克风开发出类似Kinect的姿势感知系统
•低成本
•识别精度能达到 90% 以上
•用手势玩俄罗斯方块游戏(视频)
Concepts
The not so short introduction to Kinect
http://en.wikipedia.org/wiki/Natural_user_interface
Next generation interface
Wii Remote
ASUS Xtion
Kinect
Project Glass
Development
The not so short introduction to Kinect
http://www.openni.org/
http://code.google.com/p/simple-openni/
https://github.com/OpenKinect/libfreenect
http://openkinect.org/wiki/Main_Page
Architecture

 Quick view(*)
OpenN I

•Short for “Open Natural Interface”
•Multi-langue
•Cross-platform
•Standard & Infrastructure
向后兼容

使用 openNI 开发的程序在以后的
版本中都可以继续使用 , 因为开发
人员可以毫无顾虑的更新 openNI
到最新的版本。
OpenNI Framework(1)
抽象分层视图

•Top: 代表软件,在 OpenNI 顶部,实现了自然交互的
应用程序。
•Middle: 代表 OpenNI ,提供通信接口,同时连接传感
器和中间件组件,后者分析来自传感器的数据。
•Bottom: 硬件设备,捕捉现场的视频和音频内容。
OpenNI Framework(2)
通用的框架工具集

•一个 USB 抽象访问层
•一些基本数据类型的实现(包括列表,哈希,等等)
•系统日志和转储
•内存和性能分析
•活动(授权要注册的回调函数到一个特定的事件)
•任务调度
•不是标准 OpenNI 的一部分( * )
Ca ck func
  llba

•函数指针
•注册
•事件响应
OpenN I の构成

 Generator
 Metadata
 Capability
Generator




注:绿色已经有,红色计划中,后略
生产节点

•单位集
•生产性角色
•使用较低水平的生产节点
•“ 有意义的三位数据”
Sensor Related

•Device
•Depth Generator
•Image Generator
•IR Generator
•Audio Generator
M iddlewa Rela
         re   ted

•Gesture Generator
•Scene Analyzer
•Hands Generator
•User Generator
•//provided by NITE
Record & Play

•Recoder
•Player
•Codec
Matadata
Capability
N I T E の构成

Session
Detector
M iddleware

•Full body analysis
•Hand point analysis
•Gesture detection
•Scene Analyzer
Session
Detector
The not so short introduction to Kinect
The not so short introduction to Kinect
衣带渐宽终不悔,为伊消得人憔悴。
Hello world!

•Preparation
•The program
Softwa Prepa tion
                  re    ra

            •OpenNI+NITE
            •Avin’s SensorKinect
            •Processing(*)
            •SimpleOpenNI(*)
https://github.com/avin2/SensorKinect
Here’s the code,
too young too simple
import SimpleOpenNI.*;
SimpleOpenNI kinect;

void setup()
{
  size(640*2, 480);
  kinect = new SimpleOpenNI(this);

    kinect.enableDepth();
    kinect.enableRGB();
}

void draw()
{
  kinect.update();

    image(kinect.depthImage(), 0, 0);
    image(kinect.rgbImage(), 640, 0);
}
Understand the code
import SimpleOpenNI.*;
SimpleOpenNI kinect;
•Import the library
•Declare the SimpleOpenNI object
void setup()
{
  size(640*2, 480);
  kinect = new SimpleOpenNI(this);

    kinect.enableDepth();
    kinect.enableRGB();
}

•Declare the size of app
•Instantiate the object
•Call two method
void draw()
{
  kinect.update();

    image(kinect.depthImage(), 0, 0);
    image(kinect.rgbImage(), 640, 0);
}
•Get fresh data from kinect
•Place the image
Working with depth map

•R G B
•纯黑代表无穷远,纯白代表无穷近
•Demo:ex03_basic_depth_plus_rgb
M ore about depth map

•Projective
•Realworld
•Z 值相同,代表深度,单位 mm
•ConvertProjectiveToRealWorld()
The Kinect coordinate system
Demo

chPC_ex12_obj_in_point_cloud
范围以及精确性

•最近距离: about 0.5(?)
•最远距离:  10m
•GetDeviceMaxDepth()
•官方建议: 1.2 – 3.6 米
•近远精确性比较
The not so short introduction to Kinect
Working with Point Clouds(* )

           Welcome to the Third Dimension
           3d reconstruction
           E.g:KinectFusion PCL


http://pointclouds.org/
DEMO

chPC_ex05_rotating_point_cloud
Working with Skeleton D ata

•User Detection
•Joints & Skeleton
•Distance in 3D
•Scene Map, Com
•Tracking
User D etection

•Calibration or not
•Stages in Process
The not so short introduction to Kinect
Joints & Skeleton

•Joints
•Distance between two joints in 3D
WindowsSDK: 20 joints(all)
OpenNI: 24 joints
DEMO

chSK_ex02_skel_anatomy
Scene M ap

•Background remove
•User pixels
•Center of Mass
D emo

•chSK_scene_map
•chSK_scene_image
•chSK_center_of_mass
How

•kinect.enableScene();
•sceneMap = kinect.sceneMap();
•if(sceneMap[i] == n)
T racking

Demo:PointViewer
众里寻他千百度,蓦然回首,
 那人却在,灯火阑珊处。
Kinect Hacks

Apps out of box
Create your own cool stuffs
Living coding with VS & Cpp
M edia Art

Demo: chDE_face_changing
How

•Collision detection
•kinect.getJointPositionSkeleton()
•kinect.convertRealWorldToProjective()
•Picture scala
Computer I nterface

Demo:Minority Report(*)
Demo:2D TrackPad
Demo:Hotpoint 3D
FAAST

          •Key event mapping
          •Game playing




http://projects.ict.usc.edu/mxr/faast/
Sex Ga Controller
      me

•DEMO: 宅男妄想地带
•Microsoft: NO!!
Sorry, Bill
Control ema )
           cs(*

•Map(Joint position + gesture, key event)
Kinect Visua Ca (* )
                          l mera




http://www.kinectdevs.com/forums/kinect-virtual-camera-kinect-webcam-f17
The following demo need a
better computer for higher GPU
            support
kinect-ultra )
                      (*

          一秒钟凹凸曼合体!完成你童年
          时候的梦想
          Video



http://code.google.com/p/kinect-ultra/
kinect-ka meha )
         meha (*
M ikuM ikuD ance(* )

初音妹子
Video
What do you want to make?

http://www.kinect-hacks.com/openni
reference
•http://viml.nchc.org.tw
•Visualization and Interactive Media Laboratory of NCHC
•国家科學視算與互動媒體實驗室


•http://www.javaforge.com/wiki/103532
•Kinect for PC Wiki
•中文
T hanks!
You a the controller.
      re
Q &A
Hang xie
sonicisdreaming@gmail.com
http://www.xhbang.com
T his is ba templa
           sic    te

Do not delete this page

More Related Content

PDF
The not so short
 
PDF
Kinect Hacks for Dummies
PDF
PyKinect: Body Iteration Application Development Using Python
PDF
The joy of computer graphics programming
PPTX
Kinectic vision looking deep into depth
PPT
Memory Optimization
PDF
Building a Thought Controlled Drone
PDF
第38回 名古屋CV・PRML勉強会 「Kinect v2本の紹介とPCLの概要」
The not so short
 
Kinect Hacks for Dummies
PyKinect: Body Iteration Application Development Using Python
The joy of computer graphics programming
Kinectic vision looking deep into depth
Memory Optimization
Building a Thought Controlled Drone
第38回 名古屋CV・PRML勉強会 「Kinect v2本の紹介とPCLの概要」

What's hot (8)

PPTX
Non-line-of-sight Imaging with Partial Occluders and Surface Normals | TOG 2019
PDF
Go native benchmark test su dispositivi x86: java, ndk, ipp e tbb
PPTX
Azure Digital Twins
PDF
NVIDIA 深度學習教育機構 (DLI): Approaches to object detection
PPTX
Single photon 3D Imaging with Deep Sensor Fusion
PPTX
Wave-Based Non-Line-of-Sight Imaging Using Fast f–k Migration | SIGGRAPH 2019
PPTX
Nui e biometrics in windows 10
PDF
Intel® Open Image Denoise: Optimized CPU Denoising | SIGGRAPH 2019 Technical ...
Non-line-of-sight Imaging with Partial Occluders and Surface Normals | TOG 2019
Go native benchmark test su dispositivi x86: java, ndk, ipp e tbb
Azure Digital Twins
NVIDIA 深度學習教育機構 (DLI): Approaches to object detection
Single photon 3D Imaging with Deep Sensor Fusion
Wave-Based Non-Line-of-Sight Imaging Using Fast f–k Migration | SIGGRAPH 2019
Nui e biometrics in windows 10
Intel® Open Image Denoise: Optimized CPU Denoising | SIGGRAPH 2019 Technical ...
Ad

Viewers also liked (20)

PPTX
Charleston
DOC
Ws5.1.3 finished
PPTX
The Statue of Liberty
PDF
Wearable sketching
 
PDF
ferifikase
PPT
History of record[1]
PPT
Hf2012 01 hidaya presentation_hist graduateswb-ae
PPT
Proyecto final
DOCX
Database audit policies copy
PPT
Las flequis 6º
PPT
Quizlet.com
PPTX
2011 willowbank nz a thon yr 0 2
PPT
4.1 storing records
PPTX
Two websites
PPTX
Abraham Lincoln
DOCX
The film shot, camera angles and movement
PPT
Sosiaalinen televisio 0803 mahdollistajatapaaminen
PPT
George Washington
PDF
Test ppt
Charleston
Ws5.1.3 finished
The Statue of Liberty
Wearable sketching
 
ferifikase
History of record[1]
Hf2012 01 hidaya presentation_hist graduateswb-ae
Proyecto final
Database audit policies copy
Las flequis 6º
Quizlet.com
2011 willowbank nz a thon yr 0 2
4.1 storing records
Two websites
Abraham Lincoln
The film shot, camera angles and movement
Sosiaalinen televisio 0803 mahdollistajatapaaminen
George Washington
Test ppt
Ad

Similar to The not so short introduction to Kinect (20)

PPTX
Kinect kunkuk final_
PDF
20101025 aiai2010
PPT
IEEE VR-SEARIS 2014 Keynote - MiddleVR - Philosophy and architecture
DOCX
Vipul divyanshu documentation on Kinect and Motion Tracking
PDF
Concerto motionsummer2011week1
PPTX
Becoming a kinect hacker innovator v2
PPTX
NUX Presentation from TechMixer Birmingham 2011
PDF
How To Install OpenCV On Windows? Edureka
PPTX
Microsoft Kinect for Human-Computer Interaction
PPTX
OBJECT DETECTION FOR VISUALLY IMPAIRED USING TENSORFLOW LITE.pptx
PPTX
Building Applications with the Microsoft Kinect SDK
PPTX
01 foundations
PDF
The UX of Tomorrow: Designing for the Unknown by Jeff Feddersen
PDF
Gam02 kinect1, kinect2
PPTX
How to create a smart Photobooth
PPTX
Dov Nimratz, Roman Chobik "Embedded artificial intelligence"
PPTX
Kinect sensor
PPT
15793804.ppt
PDF
Dataset creation for Deep Learning-based Geometric Computer Vision problems
PPT
Concerto motionsummer2011week1
Kinect kunkuk final_
20101025 aiai2010
IEEE VR-SEARIS 2014 Keynote - MiddleVR - Philosophy and architecture
Vipul divyanshu documentation on Kinect and Motion Tracking
Concerto motionsummer2011week1
Becoming a kinect hacker innovator v2
NUX Presentation from TechMixer Birmingham 2011
How To Install OpenCV On Windows? Edureka
Microsoft Kinect for Human-Computer Interaction
OBJECT DETECTION FOR VISUALLY IMPAIRED USING TENSORFLOW LITE.pptx
Building Applications with the Microsoft Kinect SDK
01 foundations
The UX of Tomorrow: Designing for the Unknown by Jeff Feddersen
Gam02 kinect1, kinect2
How to create a smart Photobooth
Dov Nimratz, Roman Chobik "Embedded artificial intelligence"
Kinect sensor
15793804.ppt
Dataset creation for Deep Learning-based Geometric Computer Vision problems
Concerto motionsummer2011week1

Recently uploaded (20)

PDF
Electronic commerce courselecture one. Pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Approach and Philosophy of On baking technology
PDF
Machine learning based COVID-19 study performance prediction
PDF
Encapsulation theory and applications.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
KodekX | Application Modernization Development
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Encapsulation_ Review paper, used for researhc scholars
Electronic commerce courselecture one. Pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Chapter 3 Spatial Domain Image Processing.pdf
Spectral efficient network and resource selection model in 5G networks
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
NewMind AI Monthly Chronicles - July 2025
Approach and Philosophy of On baking technology
Machine learning based COVID-19 study performance prediction
Encapsulation theory and applications.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
cuic standard and advanced reporting.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
The AUB Centre for AI in Media Proposal.docx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Network Security Unit 5.pdf for BCA BBA.
KodekX | Application Modernization Development
Advanced methodologies resolving dimensionality complications for autism neur...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Encapsulation_ Review paper, used for researhc scholars

The not so short introduction to Kinect