Showing posts with label touchlib. Show all posts
Showing posts with label touchlib. Show all posts

Thursday, March 12, 2009

Unofficial Touchlib Reference

This also will sure come in handy.

Touchlib documentation.

http://www.multigesture.net/wp-content/uploads/Touchlib_Reference.pdf

google code pages:

http://code.google.com/p/touchlib/

How to run touchlib (windows)

Installing Touchlib on Windows

Installing Touchlib on Windows XP/Vista

Requirements
Flash Player 9
Visual Studio 2005 SP1 x86 redistributable package

Please make sure your camera is properly setup within Windows before continuing with the follow steps.



  1. Download the latest version of Touchlib from http://nuigroup.com/touchlib/downloads/

  2. Open the zip file and extract touchlib_beta_v*.* folder to your desktop.

  3. Execute config.bat
    • Hit B to perform background subtraction
    • Hit Enter to perform calibration
    • Hit ESC when you are complete with calibration
    • The config application has now saved your settings into touchlib/config.xml
    • Also see: Touchlib configapp

  4. Now everything from previous step should be closed..
    • Execute server.bat
    • Execute vision.bat

  5. Go into the clients folder and choose an application to test. Your input device should now register touch events within Flash.

Source: http://nuigroup.com/wiki/Installing_Touchlib_on_Windows/

Touchlib error

We were able to run Tbeta in windows without a problem, but we also wanted to try out Touchlib, but every time we tried to run it on a pc it gave the following error.



So I downloaded the needed DLL from http://www.dll-files.com/dllindex/dll-files.shtml?msvcr71
I copied it to C:\Windows\System32

and tried to run it again, but still the same error...

Then I tried to copy the dll directly in the Touchlib folder, but still the same result.

After some searching on the internet I downloaded this:
Microsoft Visual C++ 2005 Redistributable Package (x86)

But the result was still the same,

The version of touchlib we were running was V2.0, and version V1.0 worked without a problem.
So I copied the missing dll from the V1.0 folder to the V2.0 folder.

And it worked.

you can download V1.0 from here:
http://nuigroup.com/touchlib/downloads/