Go to file
Phyks 3d5562065a Finished serial handling
To be tested. No arduino for now :/
2013-12-14 16:01:41 +01:00
3D_view Working on chorizo player, will be there soon 2013-12-05 12:11:16 +01:00
Chorizo player Flake8... 2013-12-12 12:33:09 +01:00
Color Working on chorizo player, will be there soon 2013-12-05 12:11:16 +01:00
Noel2013 Finished serial handling 2013-12-14 16:01:41 +01:00
touchless_tracking Bug fixes 2013-10-05 17:46:40 +02:00
.gitignore Started code for Noel2013 2013-12-12 12:25:38 +01:00
README.md Started code for Noel2013 2013-12-12 12:37:40 +01:00


Touchless 3D Tracking

This is based on an original project by Kyle Mc Donald : http://www.instructables.com/id/DIY-3D-Controller/.

Our slightly adapted setup is documented on my hacklab website hackens.org) (in french, I may write english doc if some people are interested in that). All the documentation can be found here : http://hackens.org/Projets/TouchlessTracking (in french, documentation will be written soon, after some extra tests).

In this repository, you'll find :

  • A script to upload on the Arduino (we used an Arduino Uno) in the touchless_tracking folder
  • Some python scripts to play with it on your computer

Arduino script

Basically, the Arduino script reads discharge times for the three electrodes (this time is related to the distance between your hand and the electrode). It returns formatted lines on the Serial output like the following line :


where value1, value2, value3 are values directly proportional to the discharge time for the electrode (see the code for more infos).

Python scripts

You'll also find some basic Python scripts as examples on possible use of the setup.


This script represents the position of your hand in the RGB space. You can then pick a color by placing your hand at a specific point in the box of the electrodes.

Chorizo player

(working on)

A script to play music using chorizo pads as a musical keyboard. See our website (french, but vids are available, more coming soon) for infos and demos.

Launch test_player.py and use your keyboard to play music for now (A, B, C, D, E, F and G keys).


(working on)

Our code for a demo at Christmas party 2013. We wanted to play Jingle Bells using a chorizo player, 5 notes to fetch from the array and map to real sound.

Use the same basis as test_player.py so it is also usable with a keyboard for fallback if whatever bad happen :)

3d view

(working on)

Same as colors.py but represents the position in real space (cube view) rather than in RGB space.

Some ideas (TODO List)

  • Then, use the previous code as a control interface for your computer, just like Minority Report :)
  • Other ideas ? It's up to you :)

Note about the license

TLDR; I don't give a damn to anything you can do using this code. It would just be nice to quote where the original code comes from.

  • Phyks (webmaster@phyks.me) wrote this file. As long as you retain this notice
  • you can do whatever you want with this stuff (and you can also do whatever
  • you want with this stuff without retaining it, but that's not cool...). If we
  • meet some day, and you think this stuff is worth it, you can buy me a
  • beer soda in return.
  •   																Phyks


  • Baltazar from hackEns for his help to set it up and for the original idea.
  • Kyle Mc Donald for his documentation on his setup
  • PRKTRNIC (video in french) for the idea about playing music with chorizo and sausages !