- Kinect For Mac
- Openni
- Libfreenect
- Kinect For Xbox One Has For Mac
- Microsoft Kinect For Mac
- Kinect V2 For Mac
- Kinect Linux
Azure Kinect Sensor SDK download.; 2 minutes to read +2; In this article. This page has the download links for each version of the Azure Kinect Sensor SDK. The installer provides all of the needed files to develop for the Azure Kinect. Azure Kinect Sensor SDK contents. Headers and libraries to build an application using the Azure. Kinect v2 OpenNi Tracker and Skeleton Actor on Mac? Any chance you are going to release it? Ive been testing the OpenNI Tracker actor with Realsense and Kinect v1 but have a bunch of students with Kinect v2s and macs and are opening to use native tool rather than Ni-mate.
Introduction
This article is intended for people who have a lot of experience in the Information Technology area, both as a developer and as systems engineer, especially on unix systems. In fact, the installation of the drivers may be a little tricky, especially if something does not go the first time.
I warn you... there are some commands to run with the terminal, I do not take any responsibility if with these commands (or connecting the kinect) you will damage your Mac. However, if you are familiar with the shell (and unix systems) you should not have problems.
The version of Kinect that i have is sold separately from the xBox. It has the power and the USB adapter included in the package. If you have the version bundled with the latest xBox (that doesn't have the adapter with the power supply), you will need this device from the Amazon website.
I connected the Kinect to an iMac with OSX 10.7.4 64-bit. However, if you read the whole article you'll be able to adapt the installation process on different systems without much effort.
Well, now that I have described the tools used for testing, we can install and configure the software and drivers required.
Driver and SDK
Before proceeding you should know that there are several available API and SDK for Kinect. However, the two main SDK are OpenNI and OpenKinect. The first is maintained by the company PrimeSence who developed the technology behind the Kinect, OpenKinect instead is a group of people who formed a community called OpenKinect which issued the library libfreenect.
There is also the official SDK released by Microsoft, but unfortunately it only works on Windows operating systems. I willanalyzethat in thenext articles.
There is also the official SDK released by Microsoft, but unfortunately it only works on Windows operating systems. I willanalyzethat in thenext articles.
For this tutorial I used OpenNI. This is because that SDK is developed by the company that has created the technology behind the Kinect, and it comes with many examples.
I used a wrapper for Processing (a programming language based on Java) called Simple OpenNI.
I used a wrapper for Processing (a programming language based on Java) called Simple OpenNI.
Simple OpenNI is a very good project, but I had to make a number of changes to the installation process to adapt it to the version of Mac OSX that I have. All changes are listed below.
Let's start
First of all, open the page with the official procedure to install Simple OpenNI on Mac OSX clicking here. As described aboveI had toslightly changethe installation procedure. Here's how:
- I download xcode4 fromhere. Then I have installed it.
- I download theversion 2.1.2ofMacPorts(the versionthat is shown in theinstallation guide istoo old) from here. Then I have installed it.
- I downloadJavaJDK7 (forMacOSXx64) fromhere.
- I have openeda terminal andran the command: sudo port install git-core
ifthat commandreturns thefollowing error:
Unable to open port: can’t read 'build.cmd': Failed to locate ‘make’ in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
then you have to start xcode, go to Preferences -> Download and install the 'Command Line Tools', then you can try again the command sudo port install git-core. - Again fromterminalI ranthe following command: sudo port install libtool
- Finally, this: sudo port install libusb-devel +universal
ifthat commandreturns thefollowing error: Please do not install this port since it has been replaced by 'libusb' thenyou have to runthe following commands: - sudo rm -f /opt/local/lib/libusb-1.0.0.dylib
- sudo port clean libusb
- sudo port install libusb +universal
- I download OpenNI_NITE_Installer-OSX from here, I have unzipped it and then ran (inside the unzipped folder) the command sudo ./install.sh
Thiscommand will install thedriverto allowthe proper functioning ofKinect. - I download and installed processing2.0 forMac OSX from here. This is because the version 1.5.x has some problem with the latest versions of Mac OSX. We have to do few changes into the source code of the examples provided with Simple OpenNI. LaterI'll show youhow to do that.
- Now we need todownload the librarySimpleOpenNIforprocessing fromhere. I have unzipped 'SimpleOpenNI.zip'. In this way we geta folder called SimpleOpenNI. You have to copy the folder SimpleOpenNI into the directory /Users/'your username'/Documents/Processing/libraries. If you don't have this folder then create it. The result is shownin the screenshot below.
![Kinect software Kinect software](https://static.gamespot.com/uploads/original/1179/11799911/2381591-kinectxbox360.jpg)
The folderSimpleOpenNIalso contains severalexamplesthat show how to usekinect, of courseall writtenin Processing.
The Code
Connect theKinectto thewall socket and to the iMac,openProcessingandasample filefrom /Users/'your username'/Documents/Processing/libraries/SimpleOpenNI/examples/OpenNI. OpentheexamplefileUser3d.pdefrom the folder User3d.
Ifwe run the code(nb: you must standat least 1.5 metersfromkinect) we shouldobtain an imagelike the one below. You can see a sort of skeleton that follows the movements of my body:
TheUser3d.pdefile(such asthosepresentin the samples folder)is well commented, if you read the code(and the comments), you can learn how to customizethe code orcreate new programs.
You have tomakesome changesto the source code before tryothersample files.You should know thatProcessing2.0,unlike earlierversions, does not import someessential libraries that oursample files need.
Kinect For Mac
If you try,for example,toexecute the fileHands3d.pde you will receivethe error: Cannot find a class or type named 'Iterator', asshownin the figure below:
To solve this problemwe have to importfor the objectIterator. Iimportedthe librariesjava.io.File(I need it also for other sample files) andjava.util.Iterator. I show youa pictureof the two linesthat I put into the source code:
If you will receiveother exceptionsthenyou need to checkon the Internet(orin the official documentationof Java)which libraryyou have to import.
Another examplethat I tried (andI want recommend to you) istheSlider2d. It allows you to play with some squares on the screen usingyour hands.Belowmy test:
As I wrote before,there aremany interesting examples into the examplesfolder of SimpleOpenNI.I recommend youto try all files.
Sometimes it happensthatprocessingreturns anerror regarding kinect disconnection. In thatcase you have to disconnect and reconnect thedevice.
As already mentionedthe source code iswell commented.Thiswill allow you toedit the code according to yourneeds, you will learn to create newprograms.
That's all.Have fun!!!
Notice: MediaWiki has been updated. Report any rough edges to [email protected]
Welcome to the OpenKinect project
Openni
Language: | English • español • suomi • français • italiano • português do Brasil • 中文(简体) |
---|
About
OpenKinect is an open community of people interested in making use of the amazing Xbox Kinect hardware with our PCs and other devices. We are working on free, open source libraries that will enable the Kinect to be used with Windows, Linux, and Mac.
The OpenKinect community consists of over 2000 members contributing their time and code to the Project. Our members have joined this Project with the mission of creating the best possible suite of applications for the Kinect. OpenKinect is a true 'open source' community!
Our primary focus is currently the libfreenect software. Code contributed to OpenKinect where possible is made available under an Apache20 or optional GPL2 license.
- Source code is available here: https://github.com/OpenKinect/libfreenect
- Get started right away by installing the software to your platform.
Communications
Libfreenect
If you want to participate or just watch the progress of the OpenKinect effort, subscribe to the OpenKinect mailing list. In the application form, please tell us something about yourself and you'll be approved automatically. You could also subscribe to the low-traffic announcement-only mailing list.
Kinect For Xbox One Has For Mac
- You can follow us on Twitter@openkinect. Please use the #tag #openkinect when tweeting your work.
- You can meet people in your area working on OpenKinect through Meetup Groups:
- You can also chat with people developing on OpenKinect software on IRC: #OpenKinect on irc.freenode.net or using this web based chat.
- Channel logs (daily rotation) can be found here.
Project information
- Project Roadmap - The current roadmap for the project (libfreenect, analysis library, and applications)
- People - Who is doing what: project leader, maintainers, contributors etc.
- Project History - The bounty, key dates and milestones
- Project Policies - The official name of the project, license, contribution policy, developers coordination and decision making
- Installation - How to download, build and install on Linux, OS X and Windows
- Contributing Code - Official repositories, use of a fork and source header, signing off, submissions and evaluation etc.
- Code Integration - How to deal with how we use git: repository policy, git usage, workflow, starting development, integration process etc.
- Contributing - There are many ways to contribute: testing, administrative tasks, support related, documentation, collaboration etc.
- FAQ - Frequently asked questions
- Documentation - Documenation
- Project Ideas - Ideas and concepts to explore using OpenKinect
- Gallery and websites - Videos and links to things people are doing with OpenKinect
- Official Logos - Official OpenKinect logos for use in your projects
API Documentation
- High Level - High-level API documentation
- Low Level - Low-level API documentation
Wrappers
- C Synchronous - Provides functions to get data instead of callbacks
- Common Lisp - Getting started with libfreenect on Common Lisp
- GFreenect (GLib) - Use Freenect from GLib. Also provides GObject Introspection which means automatic bindings for many other languages (Python, Javascript, Vala)
Utilities
- Record - Dumps Kinect data to PPM, PGM, and a bin dump for RGB, Depth, and Accel respectively.
- Fakenect - libfreenect simulator/mock interface that lets you use the kinect demos without having a kinect (plays back data from Record)
Knowledge base
Microsoft Kinect For Mac
- Protocol Documentation - Kinect USB procotol, structures and hardware control commands for the cameras, motor, LED and audio
- Reference design - US Patent Application 'Depth mapping using projected patterns'
- NUI Camera DSP - Camera DSP, architecture, instruction set, firmware, and capabilities
- lsusb output - Device identifier output
- USB Devices - Overview of the hardware devices
- USB Protocol Information - Other information about the Kinect USB protocol
- Init Analysis - Messing with various init sequences
- Imaging Information - Information about the imaging data returned by the Kinect
- Research Material - Research material for software layer implementation
- Hardware_info - Hardware information
- Calibration - Gathering information for including calibration facilities
Links
Kinect V2 For Mac
OpenNI
- http://openni.org - Open Natural Interaction, an industry-led, not-for-profit organization formed to certify and promote the compatibility and interoperability of Natural Interaction (NI) devices, applications and middleware
- http://github.com/openni - Open source framework for natural interaction devices
- http://github.com/PrimeSense/Sensor - Open source driver for the PrimeSensor Development Kit
Tech
- http://www.ifixit.com/Teardown/Microsoft-Kinect-Teardown/4066/ - Hardware teardown. Chip info is here. (via adafruit)
- http://kinecthacks.net/kinect-pinout/ - Pinout info of the Kinect Sensor
- http://www.primesense.com/?p=535 - Primesense reference implementation (via adafruit thread)
- http://www.sensorland.com/HowPage090.html - How sensors work and the bayer filter
- http://www.numenta.com/htm-overview/education/HTM_CorticalLearningAlgorithms.pdf - Suggestions to implement pseudocode near the end
- http://www.dwheeler.com/essays/floss-license-slide.html - Which licenses are compatible with which
- http://www.eetimes.com/design/signal-processing-dsp/4211071/Inside-Xbox-360-s-Kinect-controller - Another Hardware Teardown. Note this article incorrectly states that the PS1080 talks to the Marvell chip.
- http://nvie.com/posts/a-successful-git-branching-model/ - Model for branching within Git
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/SubmittingPatches - Linux contribution procedure
- http://git.kernel.org/?p=git/git.git;a=blob_plain;f=Documentation/SubmittingPatches;hb=HEAD - Git project contribution procedure
Kinect Linux
Retrieved from 'https://openkinect.org/w/index.php?title=Main_Page&oldid=1473'