Gesture controlled gallery.
Download latest x86 unstable version from:
http://openni.org/
https://github.com/avin2/SensorKinect/tree/unstable/Bin
Unpack each and run:
sudo ./install.sh
Download and install from:
http://www.panda3d.org/download.php?sdk&version=devel
We use boost::python and boost::thread. boost::python must be linked to the same version of Python used by Panda3D (2.5 in OSX). To install in OSX with brew first run: brew edit boost
And apply this diff:
--- a/Library/Formula/boost.rb
+++ b/Library/Formula/boost.rb
@@ -65,7 +65,7 @@ class Boost < Formula
args << "address-model=32_64" << "architecture=x86" << "pch=off" if ARGV.include? "--universal"
# we specify libdir too because the script is apparently broken
- system "./bootstrap.sh", "--prefix=#{prefix}", "--libdir=#{lib}"
+ system "./bootstrap.sh", "--prefix=#{prefix}", "--libdir=#{lib}", "--with-python-version=2.5", "--with-python-root=/System/Library/Frameworks/Python.framework/Versions/2.5"
system "./bjam", *args
end
end
Then run:
brew install boost --universal --build-from-source
With Homebrew:
brew install cmake
mkdir build
cd build
cmake ..
make
Change the image_path
variable in:
app/config.py
and set a resolution in
local-config.prc
ppython main.py
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.