Kinect For Mac Os

Kinect For Microsoft
This will build and install a program called 'kinectserver' - the Greenfoot Kinect Server. Run it by typing kinectserver in a terminal. That will put a little Greenfoot icon in your top-right taskbar on your Mac.
I’ve had some luck getting OpenNI samples to work on the Mac, and I
still have a few issues as well. I thought it may be helpful to
explain what I’ve done and what my results are.
I am running a MacBook Pro (model 3,1), with a dual-core 2.4GHz cpu,
which was purchased in 2007. The OS is 10.6.6. I picked up a Kinetic
the other night, but we will soon order a Primasense sensor to
hopefully simplify matters.
I downloaded the latest unstable version of OpenNI yesterday, followed
the read-me very carefully and everything built successfully. I had
not previously installed anything from MacPorts, so it did take over
an hour - all the time was going into fetches for dependencies.
Next, I loaded avin2’s driver, but I was getting some ‘Bad Parameter’
errors along with an error about USB priority. Looking back, I think
I could have gotten it to work, but instead, I downloaded the ros
driver and installed it.
The README with the ros driver says, “Each process using the device
driver should have the CAP_SYS_NICE capability in order to raise
thread priority. Failing to have that capability, will cause a failure
in setting priority, consequently causing loss of data.” I don’t
really know how to do this (I assume at the BSD level of MacOS), but
I’ll have to figure it out and put appropriate code in the samples’
source and rebuild, unless anyone can tell me what to do on this.
Finally, I downloaded the NITE binaries and installed them, then
edited the XML files in the Data directory to change 320 X 240
occurrences to 640 X 480.
I’ve been running the sample executables as root, just to eliminate
any privilege issues with the USB driver for now.
It seems that the only real issue is the problem with setting priority
on the USB. The holy grail for me will be when I can have gestures
come in as events in Cocoa applications, but what’s out there is a
great start.
Here are my results so far:
sh-3.2# pwd
/Users/poirotsj/Dropbox/Documents/Development/OpenNI/Nite-1.3.0.18/
Samples/Bin
sh-3.2# ./Sample-Boxes
Setting resolution to VGA
Warning: USB events thread - failed to set priority. This might cause
loss of data...
(... and the screen came up)
sh-3.2# ./Sample-CircleControl
Setting resolution to VGA
Warning: USB events thread - failed to set priority. This might cause
loss of data...
(... and the screen came up)
sh-3.2# ./Sample-Players
Could not find data file /usr/etc/primesense/XnVFeatures/s.dat
current working directory = /Users/poirotsj/Dropbox/Documents/
Development/OpenNI/Nite-1.3.0.18/Samples/Bin
(... I created /usr/etc/primesense/XnVFeatures and copied all the
files from the Nite XnVFeatures to it, then...)
sh-3.2# ./Sample-Players
Warning: USB events thread - failed to set priority. This might cause
loss of data...
(... and the screen came up, showing what I imagine was a depth map)
sh-3.2# ./Sample-PointServer
usage: ./Sample-PointServer section_name
(... I’ll have to go back to the docs and find out what a section name
is)
sh-3.2# ./Sample-PointViewer
Setting resolution to VGA
Warning: USB events thread - failed to set priority. This might cause
loss of data...
(... and the screen came up)
sh-3.2# ./Sample-SingleControl
Setting resolution to VGA
Warning: USB events thread - failed to set priority. This might cause
loss of data...
Please perform focus gesture to start session
Hit any key to exit
(... will have to look at docs to see what this is supposed to do)
sh-3.2# ./Sample-TrackPad
Setting resolution to VGA
Warning: USB events thread - failed to set priority. This might cause
loss of data...
(... got a black screen, can’t tell what it’s supposed to do, but at
least something came up)
Although I did build OpenNI from source, and that’s what I’m running,
I also downloaded the binary OpenNI-Bin-MacOSX-v1.0.0.25. Here are
the results of running those samples:
sh-3.2# pwd
/Users/poirotsj/Dropbox/Documents/Development/OpenNI/OpenNI-Bin-MacOSX-
v1.0.0.25/Samples/Bin/Release
sh-3.2# ./Sample-NiAudioSample
Warning: USB events thread - failed to set priority. This might cause
loss of data...
No audio node was found!
(... don’t know why this is, since the ros driver’s README says that
audio is supported.)
sh-3.2# ./Sample-NiCRead
Init context failed: File not found!
(... hmm)
sh-3.2# ./Sample-NiSimpleViewer
Warning: USB events thread - failed to set priority. This might cause
loss of data...
(... full screen image came up)
sh-3.2# ./Sample-NiUserTracker
Warning: USB events thread - failed to set priority. This might cause
loss of data...
(... screen came up with image)
sh-3.2# ./NiViewer
Warning: USB events thread - failed to set priority. This might cause
loss of data...
(... screen came up with two-tone image on left, color image on right,
bottom half of screen black)
sh-3.2# ./Sample-NiBackRecorder time 10 depth vga verbose
170 [INFO] OpenNI version is 1.0.0 (Build 25)-MacOSX (Jan 15 2011
14:40:07)
502 [VERBOSE] Checking /usr/lib/libnimMockNodes.dylib...
869 [VERBOSE] Found exported production node. Device: OpenNI/Mock/
1.0.0.25
892 [VERBOSE] Found exported production node. Depth: OpenNI/Mock/
(.... very long ....)
^C
Microsoft Kinect For Mac
Jan 26, 2016 Once its been installed, restart your Mac once again. Install OpenNI (Optional) Create a Kinect directory in Home to place all applications you’ll need to run the Kinect on the Mac. Open up Terminal and type in: —————– mkdir /Kinect. Cd /Kinect —————– As the download page from the Primesense website is not working. As you may know it, Kinect is a product manufactured by Microsoft. This leads to a lack of support for other operating systems like Linux or MacOS. But don't worry there are solutions. You first need to check the main prerequisite: - your computer. Quartz Composer is a Mac program that helps you manipulated motion capture video, and you can hack your Xbox Kinect to send motion captured data to your Mac OSX. This tutorial shows you precisely how you can use the Kinect tools to pull this off!
Kinect For Mac Os Versions
Within days of the Microsoft Kinect’s release, a set of open-source drivers surfaced letting people hack it to work with devices other than the Xbox 360. PC and Linux hacks appeared almost instantly. Now an independent developer by the name of Theo Watson has adapted an existing library to enable the Kinect to work with Mac OS X.
Watson calls the project a work-in-progress, which uses the open-source libfreenect by Hector Martin, a work-in-progress, but it does appear to be working just fine. The image in the video flickers a little bit, so a bit more USB optimization is in order. He said on a hosted vimeo page that most of the code remains unchanged, but some tweaks to libusb and transfer sizes were necessary to get the Kinect up and running. The latest update at the time of this writing works with OS X 10.6.3—two down from the latest revision—and includes several bug fixes.
Anyone with the skills who wants to have a go at the source code can grab it from the vimeo page. To get it working, Watson recommends trying both available USB ports, and making sure that too many devices aren’t plugged in. Hey, it’s a work in progress; give it some credit.
Over the weekend, Google’s own Matt Cutts issued a second Kinect bounty, consisting of two $1,000 awards, for “the person or team that writes the coolest open-source app, demo, or program using the Kinect,” as well as the person or team that simplifies the process of writing Linux apps with the Kinect.
Kinect 2 Mac Os X
This came after Adafruit Industries first offered a $3,000 Kinect bounty for the creation of open-source drivers. Here’s a separate video from last week showing the Kinect running under Linux, with both RGB and depth cameras in operation. Note that this video appeared just three hours after the official release of the Kinect:
