Does Touchlib beat 2.0 actually send the blob sizes? 
Posted: 13 May 2008 08:31 AM   [ Ignore ]
New Member
Rank
Total Posts:  47
Joined  2007-07-02

Hello,

While configurating I was happy to see that the touchlib beta 2.0 calculates the bounding rectangles of the touch blobs.  smile Very nice.

When running vision.bat I can see that touchlib tells me the touch positions and area sizes.

But when I look at the osc-messages in my client program (don’t use flash, I use an open source program environment called Squeak btw ...) I can’t see the area information there. Does Touchlib 2.0 (the ready-to-run-don’t-need-to-compile-package-for-c++-dummies) actually send this information to the client? If yes, where is it?

It would also be nice, if Touchlib would send the width/height/orientation of the bounding rectangles, wouldn’t it?

Thanks for answers,
Grit.

Profile
 
 
Posted: 15 May 2008 05:58 AM   [ Ignore ]   [ # 1 ]
New Member
Avatar
Rank
Total Posts:  98
Joined  2008-03-02

As far I can tell, It’s sending it. And the TUIO protocol implementation is extended to contain that info.
In Set packets you can find following data: blobID,xpos, ypos, xmot, ymot, mot_accel,(following is extended) Width , Height
Where Width and Height are sizes of touch area. (and If I remember it right .. you need absolute value of them,
as the current osc implementation in touchlib is sending negative values for some reasons)

Profile
 
 
Posted: 15 May 2008 07:21 AM   [ Ignore ]   [ # 2 ]
New Member
Rank
Total Posts:  47
Joined  2007-07-02

I tried to interpret the next to last number as width and the last number as height.
Seems that the last value is always greater then the next to last, even if I do a horizontal touch with the side of my hand.

Also the values it is sending are not negative. I used them as they are (with screen resolution adjustment).
They seem do be the lengths of the sides of the touch rectangle, because if I multiply them I get exactly the value the Touchlib shell returns as “Area”.
But still my touch boxes are always heigher then wide.

I wonder also, if there is information about the orientation of the bounding rectangle in the sent TUOI messages. The Touchlib config shows nicely tilted boxes - is this information sent by Touchlib, too?

Does any one knows about it?

Thanks,
Grit.

Profile
 
 
Posted: 21 May 2008 06:06 AM   [ Ignore ]   [ # 3 ]
New Member
Rank
Total Posts:  47
Joined  2007-07-02

Is there anybody, who can answer the questions from my last post above?
Grit.

Profile