blob size
Posted: 13 November 2007 04:30 AM   [ Ignore ]
Rank
Joined  2007-07-02
Total Posts:  50
New Member

Is it possible with TouchLib to send the size or bounding boxes of the touch blobs within the OSC-Messages?
I am not experienced in C++. I only use the ready-to-run-package Touchlib Beta v1.0, so I don’t need to compile the stuff.
That’s why I am not really able to hack something like this myself in TouchLib.

Is there anybody, who programmed something in TouchLib, so it is sending the bounding boxes or sizes of the finger tip blobs???

Thanks for hints,
Grit.

Profile
 
 
Posted: 13 November 2007 05:44 AM   [ Ignore ]   [ # 1 ]
Avatar
RankRank
Joined  2007-04-03
Total Posts:  241
Moderator

You would need to modify the osc.cpp source code.

Currently it’s only sending this:
p << osc::BeginMessage( “/tuio/2Dcur” ) << “set” << d.ID << d.X << d.Y << d.dX << d.dY << m << osc::EndMessage;

that means the ID, X and Y position and deltaX deltaY movement data.

 Signature 

My multitouch blog: http://www.multigesture.net
Howto: Compile touchlib on windows XP/Vista
Howto: Compile touchlib on Ubuntu Linux
Downloads: Touchlib SVN builds

Profile
 
 
Posted: 13 November 2007 09:14 AM   [ Ignore ]   [ # 2 ]
Rank
Joined  2007-07-02
Total Posts:  50
New Member

Thanks for your hint.

As I said, I am not experienced in programming C++.
Is there anyone who has done this before and can send me the altered file?

Cheers,
Grit.

Profile
 
 
Posted: 13 November 2007 11:37 AM   [ Ignore ]   [ # 3 ]
Avatar
RankRankRankRankRankRank
Joined  2007-04-08
Total Posts:  2539
Dedicated

There are currently 2-3 people working on this. So it should be added to what OSC sends soon hopefully.

 Signature 

MTmini, MTbiggie, & Audiotouch creator & Community Core Vision Co-founder

Follow on:
My Blog | Facebook | Twitter | Youtube

Profile
 
 
Posted: 13 November 2007 12:23 PM   [ Ignore ]   [ # 4 ]
Rank
Joined  2007-07-02
Total Posts:  50
New Member

That would be great!
I will periodically check the nui group website for updates.
But it would be also very kind of you, if you could post a short reply here, when it is up there.

Thank you very much.

Grit.

Profile
 
 
Posted: 13 November 2007 04:11 PM   [ Ignore ]   [ # 5 ]
Rank
Joined  2007-10-15
Total Posts:  24
New Member

I have been working on this a little,
As of now I have it sending the average blob intensity, and will be sending width and height too.

I’m interested to hear what other people think of this.

Profile
 
 
Posted: 13 November 2007 04:14 PM   [ Ignore ]   [ # 6 ]
Avatar
RankRankRankRankRankRank
Joined  2007-04-08
Total Posts:  2539
Dedicated

RGLoFMI, you’re finally here! lol

Yes height/width/area is really a necessity almost for further application development. Glad to see you have some of it working already. =)

 Signature 

MTmini, MTbiggie, & Audiotouch creator & Community Core Vision Co-founder

Follow on:
My Blog | Facebook | Twitter | Youtube

Profile
 
 
Posted: 14 November 2007 04:44 AM   [ Ignore ]   [ # 7 ]
Rank
Joined  2007-07-02
Total Posts:  50
New Member

Sounds cool.
I’m very interested in this and would like to hear about your progress.

Grit.

Profile
 
 
Posted: 14 November 2007 05:12 AM   [ Ignore ]   [ # 8 ]
Rank
Joined  2007-08-31
Total Posts:  54
New Member

Just some considerations to have in mind for those of you that are gonna considerate height/width/area (blob size/pressure) as an important parameter for your applications if they’re not artistic ones. The blob size is not strictly correlated with pressure done on the acrylic. Just think all factor that can determine the blob size like humidity on the finger (for ad ex. FTIR), non standard human finger size (lol) (how your application would react if someone with an smaller finger(like a child) uses it?) and other factors that made blob size not directly correlated measure with pressure. Take this in mind designing your applications!! wink

Profile
 
 
Posted: 14 November 2007 07:48 AM   [ Ignore ]   [ # 9 ]
Rank
Joined  2007-09-08
Total Posts:  30
New Member

Yeah first check the size of the blob and after that the amount of change in the blob.
Consider that people could push firmly first and then release the finger slowly.

Very interesting stuff anyway, because im missing this pressure sensitive feature.

 Signature 

Multitouch project : http://www.muhneer.nl/blog/

Profile
 
 
Posted: 02 December 2007 02:30 PM   [ Ignore ]   [ # 10 ]
RankRank
Joined  2006-11-09
Total Posts:  123
Member

the latest version in the SVN sends blob height/width

Profile
 
 
Posted: 02 December 2007 03:23 PM   [ Ignore ]   [ # 11 ]
Rank
Joined  2007-10-15
Total Posts:  24
New Member

c.moore seems to have gotten my pressure stuff to work with DI. I’m yet to confirm that, He could commit that to the SVN for anyone to mess with.

Also, Is it time for an osc.xml ? So a recompile wouldn’t be necessary to re-configure what the osc should be sending.

Does Flosc handle the new blob height/width without breaking down ?

Profile
 
 
Posted: 02 December 2007 04:07 PM   [ Ignore ]   [ # 12 ]
RankRank
Joined  2006-11-09
Total Posts:  123
Member

yeah, FLOSC just sends whatever OSC messages it gets.

I’ll be merging in your pressure changes at some point.

Profile