$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Kinect Workshop
Search
Seiya Konno
April 16, 2012
Technology
1
140
Kinect Workshop
Seiya Konno
April 16, 2012
Tweet
Share
More Decks by Seiya Konno
See All by Seiya Konno
NuxtHub で作る生成 AI アプリケーション
nulltask
0
52
About node-canvas (#tng7)
nulltask
0
1.3k
Introduction of WebRTC
nulltask
1
240
Node and Face (Tokyo Node Academy #5)
nulltask
1
3.5k
Introduction of Perfume Hackathon
nulltask
1
440
Other Decks in Technology
See All in Technology
オープンデータの内製化から分かったGISデータを巡る行政の課題
naokim84
1
370
レガシーで硬直したテーブル設計から変更容易で柔軟なテーブル設計にする
red_frasco
4
650
巨大モノリスのリプレイス──機能整理とハイブリッドアーキテクチャで挑んだ再構築戦略
zozotech
PRO
0
400
Master Dataグループ紹介資料
sansan33
PRO
1
4k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
9.7k
AI 時代のデータ戦略
na0
6
1.4k
AI開発の定着を推進するために揃えるべき前提
suguruooki
1
440
マルチドライブアーキテクチャ: 複数の駆動力でプロダクトを前進させる
knih
0
12k
不確実性に備える ABEMA の信頼性設計とオブザーバビリティ基盤
nagapad
5
9.3k
"なるべくスケジューリングしない" を実現する "PreferNoSchedule" taint
superbrothers
0
120
Digital omtanke på Internetdagarna 2025
axbom
PRO
0
140
生成AIシステムとAIエージェントに関する性能や安全性の評価
shibuiwilliam
2
260
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Making Projects Easy
brettharned
120
6.5k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.3k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.1k
Music & Morning Musume
bryan
46
7k
How to Ace a Technical Interview
jacobian
280
24k
KATA
mclloyd
PRO
32
15k
How STYLIGHT went responsive
nonsquared
100
5.9k
A designer walks into a library…
pauljervisheath
210
24k
Code Review Best Practice
trishagee
72
19k
Transcript
2012/02/07 KINECT WORKSHOP
• What is Kinect • How to Kinect Hacking •
Setup! AGENDA
WHAT IS KINECT • Motion sensing input device • Designed
for Microsoft Xbox 360 • Components • 3D depth sensor • RGB Camera • Microphones / Motorized tilt
USAGE
KINECT HACKING BRINGS... • Demo • http://vimeo.com/17836665 • http://www.youtube.com/watch?v=lajP7HO7ZyE •
http://mrdoob.com/lab/javascript/webgl/kinect/ • http://vimeo.com/24546394
RECIPE • Mac and OS X 10.6 or later •
Kinect • Driver for Mac • Xcode • openFrameworks
DRIVER FOR PC • libfreenect • First Kinect driver for
PCs • Simple and Fast. • OpenNI • PrimeSense officially released. • Can detect bones
XCODE • For compiling openFrameworks projects. • Bundles many useful
development tools. • Compilers (gcc) • Mac OS X Software development kit.
HOMEBREW • Homebrew (a.k.a. brew) is Package manager for OS
X • Easiest way to install missing Unix tools. • $ brew install opencv • Require compiler. (provided by Xcode)
OPENFRAMEWORKS • Written by C++ • Insanely fast! • Flexible
API. Processing like. (setup, update, draw) • Many addons (OpenCV, OSC etc...) • Exists library for Kinect. • ofxKinect, ofxOpenNI
INSTALLATION • Download Xcode installer from Mac App Store
INSTALLATION • Install Homebrew • Google: homebrew install
INSTALLATION • Install libfreenect, libusb-freenect by Homebrew • cd `brew
--prefix`/Library/Formula • $ curl --insecure -O "https://raw.github.com/OpenKinect/ libfreenect/master/platform/osx/homebrew/libfreenect.rb" • $ curl --insecure -O "https://raw.github.com/OpenKinect/ libfreenect/master/platform/osx/homebrew/libusb- freenect.rb" • $ brew install libfreenect
INSTALLATION • Download openFrameworks v007 • http://openframeworks.cc •
INSTALLATION • Put openFrameworks to your home directory • /Users/anyone/of_preRelease_v007_osx
INSTALLATION • Download ofxOpenNI (includes OpenNI Libraries) • Google: ofxopenni
• https://github.com/gameoverhack/ofxOpenNI
INSTALLATION • Rename gameoverhack-ofxOpenNI-xxxx to ofxOpenNI • Put ofxOpenNI to
openFrameworks addons directory
INSTALLATION • Make application directory • of_preRelease_v007_osx/apps/myapps • Move example
project to application directory • of_preRelease_v007_osx/addons/ofxOpenNI/example/ openNI-demoAllFeatures • of_preRelease_v007_osx/apps/myapps/openNI- demoAllFeatures
INSTALLATION • Copy libraries to project folder • src: of_preRelease_v007_osx/addons/ofxOpenNI/mac/
copy_to_data_openni_path/lib • dest: of_preRelease_v007_osx/apps/myapps/openNI- demoAllFeatures/bin/data/openni
OPEN PROJECT • Open Xcode Projet file • of_preRelease_v007_osx/apps/myapps/openNI- demoAllFeatures/openNiSample007.xcodeproj
DON’T FORGET!! • Switch compiler Apple LLVM compiler to LLVM
GCC • Apple LLVM compiler cannot build openFrameworks project • Set deployment target to Mac OS X 10.6 • 10.7 cannot build for Mac OS X SDK reason
None
RUN AND ENJOY!
CALIBRATING
TO BE CONTINUED...