LaserTraq project is a suite to use every X11-Application with a laser-pointer as Mouse. For this a video-capture device, that is supported by gstreamer, is needed. By defining multiple sensors per video-source (or multiple sources), you can have more than one Input (e.g. two red lasers on different surfaces, red/green lasers on the same surface, etc.) You will be able to define the Pixel-Height/Width of your target and have the laser-pointer coordinates scaled accordingly. They can be output:
to the X-Mouse - The mouse is warped to this coordinates and clicks.
to the keyboard - a predefined key-press is simulated when the laser is detected
by tcp/ip - Transfer the coordinates over network to some other machine.
to stdout - simple formated printout of coordinates.
How it works
Quite simple (Watch the video from GRL). With a camera which is able to do manual exposure setting, the target surface is filmed. The camera is set that the background is as dark as possible and the laser-pointer is clearly visible. Then the computer searches the image for the color of the laserpointer and calcs X and Y coordinates.
Requirements:
Hardware
Some sort of video-capture device supported by gstreamer. (Manual exposure setting is highly recommended)
A video-beamer. For the full fun.
Software
Gnome-libs
GStreamer
Gstreamer support for your video capture Device (e.g. v4lsrc)
SDL (for TraqDemo, not critical for usage)
Installation
cd into each program's subdirectory and type:
./configure
make
make install
What's New in This Release:
· slightly improved build-scripts
· less CPU usage from GUI
· glade-file for lowres environments
· improved delay-options
· bugfixes
Product's homepage