new to openCV and

muqeem's picture

Dear All,

It is been a while and so good to be back to see what is new on this amazing group and their incredible inventions.

I am new (I mean really new to OpenCV and just installed new QC on leopard. I could see the points tracked with my video image and so forth but really appreciate if someone tell me what else I could do to these tracked points. Can I see their x,y value so I cam match some other images/3D model to it? just a dump question maybe, please

I am running these compositions fine on my computer now:

http://kineme.net/Discussion/DevelopingCompositions/OpenCVtracker

Teach me masters, please, give me some hint, I will try to learn, as I may have some time this month, thanks a lot

muqeem

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

dust's picture
Re: new to openCV and

yes you can get the xy values out of both tracking examples. for both you would want to go into the iterator patch where all the points are being drawn. this is where you get your xy values etc.. if you do some searching there are some cool head tracking things on kineme that show rotations etc...

just look at all the the track points like they are little 2d objects that are waiting for a 3d object to be put in there place. although i think most people continually pulse the track good points patch (example uses a mouse click) to sort of update the tracked points. most people pick one or two points to track but i suppose you can average out a group of points to get a sort of normalized xy etc...

the basic idea is to use some of the initial point structure, meaning low indexes. lets just say the first point and track that. at this point you could track the movement of a video file and then use that data to smooth out some choppy handheld handy cam shots sort of a stabilizer of sorts or you can make music the distance between points.

your only limited is your imagination.

muqeem's picture
Re: new to openCV and

Thanks, I wanted to test some vrml attached to these tracked points. I thought I should use Maya and export VRML or some other file and import that and attach to the individual points. Do I have an option to see and attached individual points so I can assign them different VRML data? AT this moment, I could only attach image importer to the image parameter of “Kineme GL Image Structure” patch. But that is all I could do and I cannot find the iterator patch that you mention. For clarity, I am forwarding the image of the composition attached. Please take a look at it and tell me where is that iterator patch, which can show me the x,y value.

Yes, the limit is just imagination. But I need to learn a lot, thanks for you help,

PreviewAttachmentSize
Screen shot 2010-09-20 at 10.35.34 PM.png
Screen shot 2010-09-20 at 10.35.34 PM.png158.17 KB

muqeem's picture
Re: new to openCV and

I just check, Rather than VRML, I will have to blend the object. Any other animation file supported by QC. If not, can we import any rendered file with alpha channel, like QuickTIme with RGB+Alpha so that it looks like 3d animation but in 2D cards?Can we then attached these card to individual tracked points so they are visible randomly?

muqeem's picture
Re: new to openCV and

So, here is some mosquitos plates. but having hard time to randomize them or cannot find where to I can track them individually with their x,y values. Any idea, please. See the comp (George Toledo's comp). I just added movie tot he image parameter of the "Kineme GL Point Structure"

I can always make duplicate the "Kineme GL Point Structure" and make them another version, but I am sure there must be other way around.

Thanks a lot for teaching this new bee on OpenCV. Please see the comp attached,

PreviewAttachmentSize
forKenime.zip303.29 KB

dust's picture
Re: new to openCV and

yeah thats the GT example maybe the not the kineme dev example i was thinking about. you need to attach a "structure index members" patch to the point structure and then attach a "structure key member" patch to the index with key as X or Y. if you hover over the point structure outlet circle with your mouse you will see a tooltip with the structure formatting you need to use. i think the cv structure can be sing PX and PY. i'll take a look at your comp in a bit got to get something to eat.. if you havent figured it out yet.

muqeem's picture
Re: new to openCV and

Without attaching "structure index members" patch and "structure key member" patch I could see PX and PY values, (which are constantly changing) when I hover over the point structure outlet circle with my mouse. But I still do not find the way to use these values or control these values for my flying mosquitoes. Please see my comp when you get a chance. I am also playing (or I should say throwing darts in the vacuum ☺), cannot figure it out yet…... Thanks a lot

gtoledo3's picture
Re: new to openCV and

.

PreviewAttachmentSize
GT_CVTools Place Objects By Mouse.qtz15.29 KB

muqeem's picture
Re: new to openCV and

Thank you so much, amazing, it has opened a whole new world for me. I uploaded the "StructureMaker" patch to my graphic folder and the comp is working just fine.... really really thanks. You are really amazing. I got to do something with it now.

muqeem's picture
Re: new to openCV and

Is there a way to apply conditional statement after "Structure Count" so that I could trigger different "Lighting" patches based on the value out from "Structure Count". This way, in every click, I could use different image. I mean sphere will show on the first click then square will show up on second click and so forth.

thanks a lot