sábado, 10 de agosto de 2013

Kinect Hack: Air Guitar

Kinect Hack: Air Guitar  
Chris O’Shea plays a Guitar using Kinect. Written in c++ using openFrameworks and openCV for image processing, using the ofxKinect addon and the libfreenect.
How it works
First it thresholds the scene to find a person, then uses a histogram to get the most likely depth of a person in the scene. Then any pixels closer than the person to the camera are possible hands. It also uses contour extremity finding on the person blob to look for hands in situations where your hand is at the same depth as your body. It only works if you are facing the camera front on. Then it uses one hand as the neck of the guitar, drawing a virtual line from the neck through the person centroid to create the guitar line. The other hand is tracked to see if it passes through this line, strumming the guitar. The neck hand position controls the chord.
More info on Chris’ website www.chrisoshea.org
You must be logged in to post a comment.
  shareshare share 
 


- See more at: http://www.pixel-issue.net/2011/11/kinect-hack-air-guitar/#sthash.sQ1kRm0d.dpuf

No hay comentarios: