2 of 4
2
Processing Client using VVVV for Blobtracking
Posted: 21 January 2007 07:49 PM   [ Ignore ]   [ # 16 ]
Jr. Member
Avatar
RankRank
Total Posts:  209
Joined  2007-01-18

Hey Goobers,
I saw your video and it looked nice smile. Guess that panel works without FTIR, or did it? I think that if you use FTIR you can put a piece of siliconrubber on the brush and paint more accurate.

 Signature 

~ Another shameless attempt to increase the postcount… ~

Profile
 
 
Posted: 21 January 2007 07:52 PM   [ Ignore ]   [ # 17 ]
New Member
Rank
Total Posts:  20
Joined  2007-01-19

Thanks dude!

I wasn’t using FTIR in that video, as i couldn’t get it to work in time for the end of the project- instead i put an infrared LED onto the brush itself, but i hope to get it working with FTIR soon, as I think that would improve it a lot. I need a new camera too, as the one i used had a very sketchy framerate, as you can see in the video. Not sure what to get… I saw a good sony security camera on ebay with a zoom lens… might be worth a try smile

Profile
 
 
Posted: 22 January 2007 05:08 AM   [ Ignore ]   [ # 18 ]
New Member
Rank
Total Posts:  10
Joined  2007-01-21

hello all!
after reading the improved tutorial (which is the definite one) i made some update too. since issues with gettin a proper video image were reported, i made a new version of the patch with easier access to the video settings (yesterday’s version was still set to work with a DV cam)

have fun!

jens

Profile
 
 
Posted: 22 January 2007 05:25 AM   [ Ignore ]   [ # 19 ]
Administrator
RankRankRank
Total Posts:  300
Joined  2007-01-08

I still cant get it to work :(

What should we be doing to get it to work with a webcam.  The webcam driver is selected, analog video is nil, analog video standard is nil, and video format has a choice of 3 video formats.

Profile
 
 
Posted: 22 January 2007 05:29 AM   [ Ignore ]   [ # 20 ]
Jr. Member
Avatar
RankRank
Total Posts:  209
Joined  2007-01-18

Be sure the webcam is not in use by another application.

 Signature 

~ Another shameless attempt to increase the postcount… ~

Profile
 
 
Posted: 22 January 2007 05:33 AM   [ Ignore ]   [ # 21 ]
New Member
Rank
Total Posts:  10
Joined  2007-01-21

try all three choices, and switch background subtraction and blob detection off.
if theres still no image, it could be your graphics board. it must support Pixelshader 2.0.
to find that out, connect the Video window directly to the VideoIn node.

Profile
 
 
Posted: 22 January 2007 06:03 AM   [ Ignore ]   [ # 22 ]
Administrator
RankRankRank
Total Posts:  300
Joined  2007-01-08

by “video window direction to the videIn node”, what do you mean by “video window”?  I directly attached the videoIn to the videoOut and that displays an image. (i also get an image if i attach it to the contour node).  So im guessing is something to do with the background subtraction section.

I notice there is a node at the top right with the words background_subtraction in it, but this isnt connected to anything?

Your previous patch works fine.  And ive copied the videoIn settings, and turned off the tracking and background subtraction. still no luck.

My graphics card is a nvidia geforce 6800 (from what i’ve read it supports pixel shader 2), and i have the latest directx.

Profile
 
 
Posted: 22 January 2007 06:56 AM   [ Ignore ]   [ # 23 ]
New Member
Rank
Total Posts:  10
Joined  2007-01-21

that is exactly what i meant: videoin to videoout.

try switching the background subtraction node to simple_pass and see what happens…

Profile
 
 
Posted: 22 January 2007 07:16 AM   [ Ignore ]   [ # 24 ]
Administrator
RankRankRank
Total Posts:  300
Joined  2007-01-08

I notice there is a node at the top right with the words background_subtraction in it, but this isnt connected to anything? Should this be connected to something?  I’ve uploaded a picture showing what i see.

Did you download any special vvvv shaders etc to get this to work?

I just downloaded “backgroundsupression.fx” off the vvvv site and bolted-on/overwrote their example to youre patch, which seems to work.

Image Attachments
vvvvsports4minus.gif
Profile
 
 
Posted: 22 January 2007 07:26 AM   [ Ignore ]   [ # 25 ]
New Member
Rank
Total Posts:  10
Joined  2007-01-21

stupid me. yes, of course the shader has to be downloaded and put into the vvvv effects folder before opening the patch. in your screenshot, the node is simply missing because it was not installed…

sorry for that.

Profile
 
 
Posted: 22 January 2007 07:35 AM   [ Ignore ]   [ # 26 ]
Administrator
RankRankRank
Total Posts:  300
Joined  2007-01-08

dont worry. You’ve been a tremendous help with your blog and patches.  It’s really appreciated.

Profile
 
 
Posted: 22 January 2007 06:56 PM   [ Ignore ]   [ # 27 ]
Jr. Member
Avatar
RankRank
Total Posts:  209
Joined  2007-01-18

Questions: what’s the advantage of sending the blobdata over to Processing? Isn’t it faster to just use it in vvvv itself? Or does processing have more possibilities for the data?

I haven’t seen anything really cool yet that’s done outside vvvv that vvvv couldn’t do.

 Signature 

~ Another shameless attempt to increase the postcount… ~

Profile
 
 
Posted: 22 January 2007 07:05 PM   [ Ignore ]   [ # 28 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  1011
Joined  2007-01-08

well as far as i know processing is java based, so that could be a reason for persons who have experience with java and non with vvvv

furthermore if you use vvvv for commercial use you have to pay money and i believe that’s not the case for processing

i thought processing was platform independant (windows, linux, mac) and vvvv is stuck to windows, but i’m not completely sure about that

 Signature 

http://www.multitouch.nl / natural-ui.com

Profile
 
 
Posted: 22 January 2007 07:15 PM   [ Ignore ]   [ # 29 ]
Jr. Member
Avatar
RankRank
Total Posts:  209
Joined  2007-01-18

I guess the reason vvvv is stuck to windows because it directly addresses Directx, also makes really nice graphics using shaders etc.
When you’re using vvvv to capture data to relay that data to processing you still need to pay royalties for commercial usewink

And you’re probably right about the java + experience thing. Since I only have some basic knowledge about programming I preferred NOT to use processing. (Painting just a simple circle around the blobs cost me ten times longer in Processing than in vvvv>connecting the boxes.)

 Signature 

~ Another shameless attempt to increase the postcount… ~

Profile
 
 
Posted: 22 January 2007 07:21 PM   [ Ignore ]   [ # 30 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  1011
Joined  2007-01-08

programming in java itself takes even more caracters then in processing

i really had to get used to the vvvv interface, it’s not that user friendly when you first start using it wink

but i can imagine it’s easier for some people because of the way components relate to eachother and stuff

 Signature 

http://www.multitouch.nl / natural-ui.com

Profile
 
 
   
2 of 4
2