Sunday, November 4, 2012

freenect.c:4:20: fatal error: Python.h: No such file or directory

I face this problem while installing Python Wrapper for OpenKinect 

freenect.c:4:20: fatal error: Python.h: No such file or directory

Solution:

sudo apt-get install python-dev

ImportError: No module named numpy

I face this problem while installing Python wrapper for OpenKinect

ImportError: No module named numpy

Solution:

sudo apt-get install python-numpy

error while loading shared libraries: libglut.so.3: cannot open shared object file

I face this problem while running NITE sample and to overcome this you need to install this library

sudo apt-get install freeglut3-dev

Tuesday, August 2, 2011

Thursday, March 24, 2011

Kinect Development Example

hi

Here is code for the begainner developer of kinnect it will ask for the input values of led and degree of tilt range(-40,100)

import freenect
import time

def body(dev,ctx):
led_val=input('Please enter a Led value:')
tilt_val=input('Please enter a Tilt value:')
freenect.set_led(dev,led_val)
freenect.set_tilt_degs(dev,tilt_val)
time.sleep(2)
freenect.runloop(body=body)


Wednesday, March 23, 2011

Kinect

hi

Last day i got my new kinect and start developing application ,grr installing all libraries are more pathetic as compare to seeing ur image after running freenect-glview .

Error: GL/glut.h: No such file or directory
sudo apt-get install freeglut3-dev

undefined symbol: freenect_sync_get_video

I install it again manually

http://openkinect.org/wiki/Getting_Started#Ubuntu_Manual_Install