Touchlib Configapp

From NUI Group Community Wiki

Jump to: navigation, search

The Touchlib config app

In order to calibrate the touchlib library for your camera and projector, you'll need to run the config app, Here's how it works:

  1. You'll need to set up your computer so that the main monitor is the video projector so that the app comes up on that screen.
  2. Run the config app.
  3. Press 'b' at any time to recapture the background.
  4. Tweak the sliders until you get the desired results.
  5. The last step (rectify) should just have light coming from your finger tips (no background noise, etc).
  6. When you are satisfied press 'enter'. This will launch the app in full screen mode and you'll see a grid of points (green pluses).
  7. Now you can press 'c' to start calibrating.
  8. The current point should turn red. Press on your FTIR screen where the point is.
  9. Hopefully a press is detected (you can check by looking in the debug window).
  10. Press 'space' to calibrate the next point. You'll continue through until all points are calibrated.
  11. Note that the screen may not indicate where you are pressing.
  12. When you are all done, you can press 'ESC' to quit.
  13. All your changes (slider tweaks and calibration points) are saved to the config.xml file. Now when you run any touchlib app it will be calibrated.
  14. Note that any changes to where the projector is pointing or your webcam will require a re-calibration.
  Also see: Touchlib Configuration Information