Fantastico
How to Setup Touchlib and Run Multitouch Demos using a MTmini
Version 1.0
Table of Contents
Getting Started – Requirements.…………..…………………………………………………… 2 Setup…………………….………………...……………………..…….…………..………………………. 3 Configuration….……………………………………………………………………………………..3 Running The Demos………………………………….……………..………...…………..……….… 5 Demo Smoke..….……………………………………………………………………………………..5 Windows Mousedriver.……………………………………………………………………………..5 Flash Applications……...……………………………………………………………………………..6 Extras………………………...……………………………………………………………………………..7 Help…………………………………..…………………………….……………...………..…………....… 8 Acknowledgements and Resources……………….………………….………..……….…… 10
Getting Started ‐ Requirements
Software Requirements: ‐Flash Player 9 (only required if running swf Flash Demos) ‐ Java runtime 1.6+ (only required if running swf Flash Demos) ‐ Visual Studio 2005 SP1 x86 redistributable package 1. Download the latest version of MTmini Package from http://ssandler.wordpress.com/MTmini 2. Open the zip file and extract the contents to your preferred location. Hardware Requirements: ‐ or: ‐Quickly Build a MTmini with (video link): o Cardboard Box o Transparent/clear material o Paper o Webcam A prebuilt MTmini (multitouch pad) or front Illumination Multitouch Table.
Setup
Configuration – The Touchlib Configapp
1. Start (double click) Configuration.bat in the main folder. 2. A Property Sheet dialog box will open that asks for camera configuration. 3.Choose a setting that works well with your camera and click ‘Ok.’ note: A higher Frame Rate will work better than a higher resolution (Output Size).
Figure 1. Configuration Startup and Property Sheet Dialog Box
4. Multiple windows will open with images from the camera (see Figure 2). note: if only grey windows (no image) open or the wrong camera is displayed, skip to the help section at the end of this guide. 5.Adjust the sliders until the rectify window only has blobs coming from your fingers (no background noise, etc). 6. When the rectify window is set well, press “ESC” to quit. 7. The configapp will save your settings in Touchlib_Tracking_Software/config.xml.
Figure 2. Touchlib Configapp Capture (1) ‐ is the raw video input (from the camera) window. Mono (2) ‐ turns the source image into a grey scale image. Invert (3) ‐ inverts the image Mono2 image. BackgroundRemove (4) ‐ subtracts the background from the current scene. Simplehighpass (5) –lets only the brightest spots in the image through. Scaler (6) – amplifies (bright spots become brighter) the output of the previous filter. Rectify (7) – the final image that is used for blob tracking.
Running The Demos Once configuration is complete, it is recommended to first test out Smoke Demo to make sure everything is working properly.
Smoke Demo
1. Start (double click) Smoke_Demo.bat in the Demos/C++ Demos folder. 2. The same Property Sheet dialog box from configapp will load. Select the same settings as before and press ‘Ok.’ 3. A ‘Demo Smoke’ window will load. Touching the multitouch pad should create colored smoke. 4. Press ‘F’ for full screen and ‘Q’ to quit. If there’s noise (false touches), press ‘B’ at any time to recapture the background and clear the noise.
Figure 3. Smoke Demo windows (left), C++ Demos folder (bottom right), CMD window (top right)
Windows Mousedriver
caution: Only use the Windows Mousedriver on a stable setup. 1.Start (double click) Windows_Mousedriver.bat in the Demos/C++ Demos folder. 2. The same Property Sheet dialog box from configapp will load. Select the same settings as before and press ‘Ok.’ 3. Once the word ‘recap’ is displayed in the CMD window the multitouch pad will be ready to act as a mouse. 4. A finger down performs a ‘click’; a double tap performs a ‘double click.’
Flash Applications
Steps: 1)...
Regístrate para leer el documento completo.