Git Product home page Git Product logo

galia's Introduction

Galia

Gesture controlled gallery.

http://outboxlabs.com/galia

Get it running

1. Install the following:

OpenNI, NITE and SensorKinect

Download latest x86 unstable version from:

http://openni.org/
https://github.com/avin2/SensorKinect/tree/unstable/Bin  

Unpack each and run:

sudo ./install.sh

Panda3D

Download and install from:

http://www.panda3d.org/download.php?sdk&version=devel

Boost

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

Cmake

With Homebrew:

brew install cmake

2. Compile the python extension

mkdir build
cd build
cmake ..
make

3. Configure the app

Change the image_path variable in:

app/config.py 

and set a resolution in

local-config.prc

3. Connect Kinect and run:

ppython main.py

License

Creative Commons

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

galia's People

Contributors

maxm avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.