Air Guitar prototype with Kinect

December 11, 2010 · Posted in Uncategorized 

British artist and designer Chris O’Shea created this Kinect Air Guitar prototype.

O’Shea explains how the Kinect Air Guitar works

Technical Details
Written in c++ using openFrameworks and openCV for image processing. Using the ofxKinect addon and the libfreenect driver on Mac. Thank you to the openframeworks and openkinect communities for enabling this to happen. A big thank you to Microsoft for bringing this technology to the mass market.

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.

Comments

Comments are closed.

  • THE CAVE : Playlist

  • INSTAGRAM – ANALOG INDUSTRIAL ARTS

    • CITY SKYLINE SUNSET CONTRAST URBAN MALM BLADERUNNER ANTENNA
    • ARCHITECTURE PATTERN GRID FLASHLIGHT INDUSTRIAL
    • WOOD FOREST PATTERN AMBIENT TEXTURES COAT CORETEX
    • HOBBIT LORDOFTHERINGS WOODS BLACKANDWHITE FOREST TREES
    • UFO ALIENS ARCHITECTURE SPACESHIP COMMUNICATION
    • MARS EXPLORER DESOLATE DRY TWILIGHT INDUSTRIAL
    • STATION REFLECTION MIRRORS DESIGN COMMUTER FLUX
    • LORDOFTHERINGS HOBBIT WATER WOODS BRIDGE NATURE ARTISTIC
    • SPOOKY STRANGERTHINGS ARTISTIC EVENING ELEVATOR INDUSTRIAL
    • HUMAN SILLOUETT GLASS ARTY EXPERIMENTAL SHADDOW
    • POKMON POKMON TOKYO SHINJUKU ARTY POPART
    • FOREST LORDOFTHERINGS HOBBIT AUTUMN GREYSCALE
Get Adobe Flash player