SlideShare ist ein Scribd-Unternehmen logo
1 von 25
Downloaden Sie, um offline zu lesen
KINECT WORKSHOP
     2012/02/07
AGENDA


• What     is Kinect

• How   to Kinect Hacking

• Setup!
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
RUN AND ENJOY!
CALIBRATING
TO BE CONTINUED...

Weitere ähnliche Inhalte

Was ist angesagt?

Dockerfile Basics Workshop #1
Dockerfile Basics Workshop #1Dockerfile Basics Workshop #1
Dockerfile Basics Workshop #1
Docker, Inc.
 
Using Cocoapods
Using CocoapodsUsing Cocoapods
Using Cocoapods
jeffreysambells
 
Using Jenkins with iOS projects
Using Jenkins with iOS projectsUsing Jenkins with iOS projects
Using Jenkins with iOS projects
AppsDojo
 
Dockerfile basics | docker workshop #1 at Rackspace
Dockerfile basics | docker workshop #1 at RackspaceDockerfile basics | docker workshop #1 at Rackspace
Dockerfile basics | docker workshop #1 at Rackspace
dotCloud
 
Using Nagios to monitor your WO systems
Using Nagios to monitor your WO systemsUsing Nagios to monitor your WO systems
Using Nagios to monitor your WO systems
WO Community
 

Was ist angesagt? (20)

Vagrant For DevOps
Vagrant For DevOpsVagrant For DevOps
Vagrant For DevOps
 
Dockerfile Basics Workshop #1
Dockerfile Basics Workshop #1Dockerfile Basics Workshop #1
Dockerfile Basics Workshop #1
 
Dockerfile Basics | Docker workshop #2 at twitter, 2013-11-05
Dockerfile Basics | Docker workshop #2 at twitter, 2013-11-05Dockerfile Basics | Docker workshop #2 at twitter, 2013-11-05
Dockerfile Basics | Docker workshop #2 at twitter, 2013-11-05
 
Using Cocoapods
Using CocoapodsUsing Cocoapods
Using Cocoapods
 
Cocoa pods
Cocoa podsCocoa pods
Cocoa pods
 
Run Python on windows
Run Python on windowsRun Python on windows
Run Python on windows
 
Using Jenkins with iOS projects
Using Jenkins with iOS projectsUsing Jenkins with iOS projects
Using Jenkins with iOS projects
 
Webinar: Using Docker Multi-stage Build to Create Advanced Pipelines
Webinar: Using Docker Multi-stage Build to Create Advanced PipelinesWebinar: Using Docker Multi-stage Build to Create Advanced Pipelines
Webinar: Using Docker Multi-stage Build to Create Advanced Pipelines
 
Webinar: Creating an Effective Docker Build Pipeline for Java Apps
Webinar: Creating an Effective Docker Build Pipeline for Java AppsWebinar: Creating an Effective Docker Build Pipeline for Java Apps
Webinar: Creating an Effective Docker Build Pipeline for Java Apps
 
Rump : iOS patch diffing
Rump : iOS patch diffingRump : iOS patch diffing
Rump : iOS patch diffing
 
Dockerfile basics | docker workshop #1 at Rackspace
Dockerfile basics | docker workshop #1 at RackspaceDockerfile basics | docker workshop #1 at Rackspace
Dockerfile basics | docker workshop #1 at Rackspace
 
Introduction to dockerfile, SF Peninsula Software Development Meetup @Guidewire
Introduction to dockerfile, SF Peninsula Software Development Meetup @Guidewire Introduction to dockerfile, SF Peninsula Software Development Meetup @Guidewire
Introduction to dockerfile, SF Peninsula Software Development Meetup @Guidewire
 
Azure VM base images with Packer, Ansble and Vagrant
Azure VM base images with Packer, Ansble and VagrantAzure VM base images with Packer, Ansble and Vagrant
Azure VM base images with Packer, Ansble and Vagrant
 
CocoaHeads Rennes #13 : CocoaPods
CocoaHeads Rennes #13 : CocoaPodsCocoaHeads Rennes #13 : CocoaPods
CocoaHeads Rennes #13 : CocoaPods
 
Using Nagios to monitor your WO systems
Using Nagios to monitor your WO systemsUsing Nagios to monitor your WO systems
Using Nagios to monitor your WO systems
 
Introduction to GitHub Actions
Introduction to GitHub ActionsIntroduction to GitHub Actions
Introduction to GitHub Actions
 
Vagrant and Chef on FOSSASIA 2014
Vagrant and Chef on FOSSASIA 2014Vagrant and Chef on FOSSASIA 2014
Vagrant and Chef on FOSSASIA 2014
 
Automate your Development Environments with Vagrant
Automate your Development Environments with VagrantAutomate your Development Environments with Vagrant
Automate your Development Environments with Vagrant
 
Java EE with NetBeans on OpenShift
Java EE with NetBeans on OpenShiftJava EE with NetBeans on OpenShift
Java EE with NetBeans on OpenShift
 
Scalable Deployment Architectures with TYPO3 Surf, Git and Jenkins
Scalable Deployment Architectures with TYPO3 Surf, Git and JenkinsScalable Deployment Architectures with TYPO3 Surf, Git and Jenkins
Scalable Deployment Architectures with TYPO3 Surf, Git and Jenkins
 

Ähnlich wie Kinect Workshop Part 1/2

Continuous integration by Rémy Virin
Continuous integration by Rémy VirinContinuous integration by Rémy Virin
Continuous integration by Rémy Virin
CocoaHeads France
 

Ähnlich wie Kinect Workshop Part 1/2 (20)

habitat at docker bud
habitat at docker budhabitat at docker bud
habitat at docker bud
 
Continuous integration by Rémy Virin
Continuous integration by Rémy VirinContinuous integration by Rémy Virin
Continuous integration by Rémy Virin
 
Continuous Integration with Cloud Foundry Concourse and Docker on OpenPOWER
Continuous Integration with Cloud Foundry Concourse and Docker on OpenPOWERContinuous Integration with Cloud Foundry Concourse and Docker on OpenPOWER
Continuous Integration with Cloud Foundry Concourse and Docker on OpenPOWER
 
Deliver Python Apps with Docker
Deliver Python Apps with DockerDeliver Python Apps with Docker
Deliver Python Apps with Docker
 
Scaling Your App With Docker Swarm using Terraform, Packer on Openstack
Scaling Your App With Docker Swarm using Terraform, Packer on OpenstackScaling Your App With Docker Swarm using Terraform, Packer on Openstack
Scaling Your App With Docker Swarm using Terraform, Packer on Openstack
 
Docker module 1
Docker module 1Docker module 1
Docker module 1
 
Mastering composer
Mastering composerMastering composer
Mastering composer
 
iOS Application Security
iOS Application SecurityiOS Application Security
iOS Application Security
 
Django and Docker
Django and DockerDjango and Docker
Django and Docker
 
Docker at Djangocon 2013 | Talk by Ken Cochrane
Docker at Djangocon 2013 | Talk by Ken CochraneDocker at Djangocon 2013 | Talk by Ken Cochrane
Docker at Djangocon 2013 | Talk by Ken Cochrane
 
ASP.NET 5 auf Raspberry PI & docker
ASP.NET 5 auf Raspberry PI & dockerASP.NET 5 auf Raspberry PI & docker
ASP.NET 5 auf Raspberry PI & docker
 
Cape Cod Web Technology Meetup - 3
Cape Cod Web Technology Meetup - 3Cape Cod Web Technology Meetup - 3
Cape Cod Web Technology Meetup - 3
 
Building an iOS Build Server
Building an iOS Build ServerBuilding an iOS Build Server
Building an iOS Build Server
 
Vagrant to-aws-flow
Vagrant to-aws-flowVagrant to-aws-flow
Vagrant to-aws-flow
 
Build your own embedded linux distributions by yocto project
Build your own embedded linux distributions by yocto projectBuild your own embedded linux distributions by yocto project
Build your own embedded linux distributions by yocto project
 
Linux containers and docker
Linux containers and dockerLinux containers and docker
Linux containers and docker
 
Dependencies Managers in C/C++. Using stdcpp 2014
Dependencies Managers in C/C++. Using stdcpp 2014Dependencies Managers in C/C++. Using stdcpp 2014
Dependencies Managers in C/C++. Using stdcpp 2014
 
Informix on Docker Hub
Informix on Docker HubInformix on Docker Hub
Informix on Docker Hub
 
Dockerize the World
Dockerize the WorldDockerize the World
Dockerize the World
 
Philly CocoaHeads 20160414 - Building Your App SDK With Swift
Philly CocoaHeads 20160414 - Building Your App SDK With SwiftPhilly CocoaHeads 20160414 - Building Your App SDK With Swift
Philly CocoaHeads 20160414 - Building Your App SDK With Swift
 

Mehr von Seiya Konno

│▌║█▌▌║║║█▌█║█ の話 / LIG + SHIFTBRAIN + UNIBA 別冊ライトニングトーク Vol. 1
│▌║█▌▌║║║█▌█║█ の話 / LIG + SHIFTBRAIN + UNIBA 別冊ライトニングトーク Vol. 1│▌║█▌▌║║║█▌█║█ の話 / LIG + SHIFTBRAIN + UNIBA 別冊ライトニングトーク Vol. 1
│▌║█▌▌║║║█▌█║█ の話 / LIG + SHIFTBRAIN + UNIBA 別冊ライトニングトーク Vol. 1
Seiya Konno
 
月刊ライトニングトーク 2014/08: 前回からのダイジェスト
月刊ライトニングトーク 2014/08: 前回からのダイジェスト月刊ライトニングトーク 2014/08: 前回からのダイジェスト
月刊ライトニングトーク 2014/08: 前回からのダイジェスト
Seiya Konno
 
月刊ライトニングトーク 2014/05 atom-shell を試してみた
月刊ライトニングトーク 2014/05 atom-shell を試してみた月刊ライトニングトーク 2014/05 atom-shell を試してみた
月刊ライトニングトーク 2014/05 atom-shell を試してみた
Seiya Konno
 
月刊ライトニングトーク 2014/05 先月のふりかえり
月刊ライトニングトーク 2014/05 先月のふりかえり月刊ライトニングトーク 2014/05 先月のふりかえり
月刊ライトニングトーク 2014/05 先月のふりかえり
Seiya Konno
 
月刊ライトニングトーク 2014/05 イントロダクション
月刊ライトニングトーク 2014/05 イントロダクション月刊ライトニングトーク 2014/05 イントロダクション
月刊ライトニングトーク 2014/05 イントロダクション
Seiya Konno
 
About node-canvas
About node-canvasAbout node-canvas
About node-canvas
Seiya Konno
 
Perfume hackathon
Perfume hackathonPerfume hackathon
Perfume hackathon
Seiya Konno
 

Mehr von Seiya Konno (13)

OSS に貢献しよう - Creators MeetUp #25
OSS に貢献しよう - Creators MeetUp #25OSS に貢献しよう - Creators MeetUp #25
OSS に貢献しよう - Creators MeetUp #25
 
│▌║█▌▌║║║█▌█║█ の話 / LIG + SHIFTBRAIN + UNIBA 別冊ライトニングトーク Vol. 1
│▌║█▌▌║║║█▌█║█ の話 / LIG + SHIFTBRAIN + UNIBA 別冊ライトニングトーク Vol. 1│▌║█▌▌║║║█▌█║█ の話 / LIG + SHIFTBRAIN + UNIBA 別冊ライトニングトーク Vol. 1
│▌║█▌▌║║║█▌█║█ の話 / LIG + SHIFTBRAIN + UNIBA 別冊ライトニングトーク Vol. 1
 
Flashback 2014 / うぇぶ屋のみイントーキョー Vol. 3
Flashback 2014 / うぇぶ屋のみイントーキョー Vol. 3Flashback 2014 / うぇぶ屋のみイントーキョー Vol. 3
Flashback 2014 / うぇぶ屋のみイントーキョー Vol. 3
 
Monthly Lightning Talk Playback 2014-12
Monthly Lightning Talk Playback 2014-12Monthly Lightning Talk Playback 2014-12
Monthly Lightning Talk Playback 2014-12
 
Monthly lightning-talk-playback-201410
Monthly lightning-talk-playback-201410Monthly lightning-talk-playback-201410
Monthly lightning-talk-playback-201410
 
月刊ライトニングトーク 2014/08: 前回からのダイジェスト
月刊ライトニングトーク 2014/08: 前回からのダイジェスト月刊ライトニングトーク 2014/08: 前回からのダイジェスト
月刊ライトニングトーク 2014/08: 前回からのダイジェスト
 
月刊ライトニングトーク 2014/06-07: 前回からのダイジェスト
月刊ライトニングトーク 2014/06-07: 前回からのダイジェスト月刊ライトニングトーク 2014/06-07: 前回からのダイジェスト
月刊ライトニングトーク 2014/06-07: 前回からのダイジェスト
 
月刊ライトニングトーク 2014/05 atom-shell を試してみた
月刊ライトニングトーク 2014/05 atom-shell を試してみた月刊ライトニングトーク 2014/05 atom-shell を試してみた
月刊ライトニングトーク 2014/05 atom-shell を試してみた
 
月刊ライトニングトーク 2014/05 先月のふりかえり
月刊ライトニングトーク 2014/05 先月のふりかえり月刊ライトニングトーク 2014/05 先月のふりかえり
月刊ライトニングトーク 2014/05 先月のふりかえり
 
月刊ライトニングトーク 2014/05 イントロダクション
月刊ライトニングトーク 2014/05 イントロダクション月刊ライトニングトーク 2014/05 イントロダクション
月刊ライトニングトーク 2014/05 イントロダクション
 
About node-canvas
About node-canvasAbout node-canvas
About node-canvas
 
About WebRTC
About WebRTCAbout WebRTC
About WebRTC
 
Perfume hackathon
Perfume hackathonPerfume hackathon
Perfume hackathon
 

Kürzlich hochgeladen

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Kürzlich hochgeladen (20)

SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 

Kinect Workshop Part 1/2

  • 1. KINECT WORKSHOP 2012/02/07
  • 2. AGENDA • What is Kinect • How to Kinect Hacking • Setup!
  • 3. WHAT IS KINECT • Motion sensing input device • Designed for Microsoft Xbox 360 • Components • 3D depth sensor • RGB Camera • Microphones / Motorized tilt
  • 5. 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
  • 6. RECIPE • Mac and OS X 10.6 or later • Kinect • Driver for Mac • Xcode • openFrameworks
  • 7. DRIVER FOR PC • libfreenect • First Kinect driver for PCs • Simple and Fast. • OpenNI • PrimeSense officially released. • Can detect bones
  • 8. XCODE • For compiling openFrameworks projects. • Bundles many useful development tools. • Compilers (gcc) • Mac OS X Software development kit.
  • 9. 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)
  • 10. OPENFRAMEWORKS • Written by C++ • Insanely fast! • Flexible API. Processing like. (setup, update, draw) • Many addons (OpenCV, OSC etc...) • Exists library for Kinect. • ofxKinect, ofxOpenNI
  • 11. INSTALLATION • Download Xcode installer from Mac App Store
  • 12. INSTALLATION • Install Homebrew • Google: homebrew install
  • 13. 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
  • 14. INSTALLATION • Download openFrameworks v007 • http://openframeworks.cc •
  • 15. INSTALLATION • Put openFrameworks to your home directory • /Users/anyone/of_preRelease_v007_osx
  • 16. INSTALLATION • Download ofxOpenNI (includes OpenNI Libraries) • Google: ofxopenni • https://github.com/gameoverhack/ofxOpenNI
  • 17. INSTALLATION • Rename gameoverhack-ofxOpenNI-xxxx to ofxOpenNI • Put ofxOpenNI to openFrameworks addons directory
  • 18. 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
  • 19. 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
  • 20. OPEN PROJECT • Open Xcode Projet file • of_preRelease_v007_osx/apps/myapps/openNI- demoAllFeatures/openNiSample007.xcodeproj
  • 21. 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
  • 22.