En Arte al día
En Telefe Noticias
En Arte al día
En Telefe Noticias
Since I’ve got some emails from people trying to compile the source code with no much luck, I decided to write this short (and hopefully understandable) “how to compile Kinect Core Vision using xcode”.
First of all, I’m using the latest version of openFrameworks available on gitHub. This is quite inestable at the moment, so this whole project should be considered as “very experimental”. But, with a little bit of time, patience and collaboration it should end up working smoothly.
So lets get started:
1- Download and install the latestGitHub openFrameworks version
2- Download and put ofxKinectaddon inside …openFrameworks/addons directory
3- Donwload KinectCoreVision source codeand put it inside one directory under …openFrameworks/apps folder.
4- Open the xcode project and check that the addons dependences are ok. You may need to add a search path to: ../../../addons/ofxKinect/libs/libusb/osx/libs under Targets->YourApp->Build->Library Search Paths (make sure All Configurations and All Settings are selected).
Note: I also had to add the search path for the opencv libraries opencv/libs/osx/include.
Interactive Application that I made with openFrameworks for Rosario´s TechCamp for high schools kids. The main idea is show how to be creative with technology thinking less as a user and more as a hacker.
In this case I use my multiTouch TUIO compatible GUI addon named ofxBlackBox for the tool bar.
For the tracking I use cheap IR-Dots made from flashlights and ping-pong balls with Community Core Vision app.
This is a simple hack of the famous NUIGroups application used on multiTouch tables.
Camera input it´s replace for Kinect drivers (using Theo Watson´s addon: ofxKinect)
As Theo´s default example you can set the space between distance you want to track. And the you can apply any kind of filter (mous of the obsolet)
Just like the NUI app, you can calibrate the area and the send the position thought TUIO protocol.
In this video I´m using Memo´s MSA Fluid TUIO Demo from processing to show an example
More information of this project:
Thanks to Bernardo dos Santos for the mail. He was using the Tiper2 and he have some problems with the tuioZone. I take the opportunity to translate the code and comment it in english.
I also clean some parts of the code and modify the first part of the .kbd files in order to store there the information abouth the border and center of the keyboard.
First you have to use the Tiper3MapMaker in order to draw the distribution of the keyboard you want to use. I already made a map.kbd file. Open it with a text editor, explore, modify or erase all the information. Then draw a new one. For default you it always save it on the map.kbd file.
The interesting thing of it is that in this example I use a photo of a mac keyboard but you can use what ever you want. Each time you press a key it will create one with the same letter. But then you can change it using a text editor and put there a word for example: POWER, VOL +, VOL – , etc…. in order to make a RemoteControl.
After created you map.kbd file move it to the data folder of Tiper3. With it you give it life and functionality. You can place it what ever you want and rotate. It use polar geometry instad of pushing and poping the matrix, so it always work no mater how many times you rotate and move it.
I commented some lines here use the TUIO library in order to make it work over a multitouch surface. You can download the library from tuio.org, look at the videos I have about making a cheap moultitouch surface to start playing with it and using as a virtual keyboard.
Look at the “check” funtion of the Keyboard Class in order to know how to know wich key is pressed and start thinking how can became part of you projects.
If it works for you, or if you make some changes, or if you have doubts, please let me know in order to make it a better tool.
Source code here
For the Communitas Project I need to know more about touch Tables.
So I follow this Harry van der Veen´s “FTIR multi-touch display how-to guide”
It´s really strait forward and don´t bring me much complications until the very end of it. Seams that It´s need a Rosco Gray surface and ELASTOSIL® M 4641 silicone. Those materials a really expensive and hard to find. So I start looking and exploring for other alternatives.
Finally I use a shower curtain a diffuser in the middle of another acrylic.
Here is the final assembly video.
Here are a video of other materials that could bring interesting effects. I´m using my application made with Processing call JoyOfLight for recording the finger blobs.
Tiper2: Virtual KeyBoard for multiTouch proyects. Made with Processing. Very Beta
Tiper2MapMaker: Helps you to generate the key map using a picture. Press any key of your real or fisical keyboard and it´ll appear. Then drag it to the place you like. It works better when you download it because it need to save the map.kbd with every change.
Also you can download the full code with files here.
tiper2 by Patricio Gonzalez Vivo is licensed under a Creative Commons Reconocimiento-No comercial-Compartir bajo la misma licencia 2.5 Argentina License.