Share your code !

Record and make a video

  1. Run an example with `--dump-frame --dump-format=jpeg`
  2. Run mencoder with `mencoder "mf://*.jpeg" -ovc lavc -mf fps=20:type=jpeg -o output.avi`

Ignore hotspot zone

Hotspot are annoying blob, generated by light for example. You can remove detection of blob for some part of the screen. The Tuio space is in 0-1. Ignore zone are defined by a box : xmin, ymin, xmax, ymax.

If you want to ignore all blob in 0.1-0.15 x/y, you can do :

  1. Edit ~/.pymt/config
  2. In the tuio section, modify *ignore* key to :
[tuio]
ignore = [(0.1, 0.1, 0.15, 0.15)]

Ignore keyword accept list of hotspot zone.

Running pylint

cd ~/path_to_your_pymt_installation/
pylint --disable-msg=W0403,C0103,W0142 pymt > pymt.lint