| Issue 27: | Ignore touches based on pos (to alow ignore of false touch by e.g. hotspot) | |
| 1 person starred this issue and may be notified of changes. | Back to list |
have a section in the config file, where we can add positions that are to
be ignored from TUI input. this would be usefull since trackers can often
report a false touch becuase of a projector hotspot or simmilar issues.
I suggest putting a list of position(x,y),radius tuples, for flexibility.
code will only have to be changed where TUIO events are dispatched to be
compared against each entry in this list
for each blob:
for pos in ignore_positions:
if |(x,y)-pos| < raidus):
ignore blob
hopefully taht isnt toolsow (should be with small numbers of ignore
posiions)
Mar 5, 2009
Project Member
#1
sharath....@gmail.com
Mar 10, 2009
(No comment was entered for this change.)
Labels:
Component-Core
Mar 15, 2009
Hotspot can be ignored with "ignore" keyword of [tuio] section. Example: [tuio] host = 127.0.0.1 port = 3333 ignore = [(0.2, 0.2, 0.3, 0.3)] ignore accept list of tuple. Tuple is (xmin, ymin, xmax, ymax), in the tuio coord (0-1)
Status:
Done
|