Hey Sujay,
Welcome!
I agree with IOhannes and Ed, the key is to filter the image as much as possible before trying to do the motion tracking. Oftentimes the best results come with using an infrared camera and infrared lighting so that you can control the lighting for the camera tracking separately from the room lighting.
Just in case, have you seen the motion tracking examples in Gem? Go to the Help menu, then Browser, then click on Gem, then examples, and 04.video. There are a couple different techniques for motion tracking there.
.hc
On 01/24/2013 04:53 AM, Ed Kelly wrote:
Sujay,
Try sending the output of the pix_blob through a [mavg 5]
Ed
Gemnotes-0.2: Live music notation for Pure Data, now with dynamics! http://sharktracks.co.uk/
----- Original Message -----
From: IOhannes m zmoelnig zmoelnig@iem.at To: pd-list@iem.at Cc: Sent: Thursday, 24 January 2013, 8:42 Subject: [PD] motion-tracking (was Re: help)
On 2013-01-23 14:55, Sujay Mukherjee wrote:
hi i am new to Pd
welcome.
please don't use generic subjects like "help" or "i have a question". most people who write on this list either have a question or try to answer one. imagine what would happen if all of those would use the subject "help" or "answer". anyhow this is all explained at [1], which you probably should read.
i am trying to work with motion tracking in Pd I am using pix_rgba ,pix_movement,and pix-blob to get nos out of the pix_blob but when I am feeding it to a rectangle the movement is very wobbly is there any other way to track motion
[pix_movement]/[pix_blob] is just a standard way to get movement data from an image. [pix_movement2] is another. there are some openCV objects out there as well (look for pix_opencv), which might have more sophisticated tracking algorithms (e.g. based on shape).
but in all these cases: if the output signal is too noisy, you should try to reduce the noise by applying a filter: filters are the magic of tracking.
fgamsdr IOhannes
[1] http://puredata.info/community/lists/Netiquette
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list