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)
Hi... thanks your code was very usefull to me.
ReplyDeleteI hope you keep on working in this
see you
Rafael
Hi
ReplyDeleteThank you for the comments . I will upload few more examples soon
Have a nice day