I'm not totally clear on the big picture here but it could be you might save yourself a lot of time and effort doing your blob tracking with Community Core Vision (CCV) then sending the blob data to Pd through OSC. After initially doing my blob tracking in Pd only (which did work), I switched to this CCV --> Pd approach and got better results because of all of the built-in filtering etc. that is provided with that open-source cross-platform software.
francescoHi, thank you for the suggestions, I'll check openCv. Can you explain how to use "morphological filters" to clear up the noise in the image? Are there examples around? Also, could you please explain me better what do you mean with "adaptive background subtraction method"?Thank you for your time :)
2013/4/17 Antoine Villeret <antoine.villeret@gmail.com>
hi,the segmentation method (how you extract what is your interest from the rest of the image) is very critical in video trackingbackground subtraction is a basic way to extract blob and it works only in certain conditions of light (if you want to track something outdoor, you should use an adaptive background subtraction method)moreover, there is no general method to do video tracking, it depends on what you want to track and how it is filmedso, the first thing is to have a good image, with not too much lighting changes, good contrast between background and features to trackthen you can start thinking about segmentation, and the segmentation accuracy depends on the quality of the videoyou may need to do something more than just background subtraction, for example, you could apply some morphological filter to remove noiseafter that, you can start trackingyou could also apply a threshold on the blob size to not track very small blobblob of interest are often surrounded by very small blobs due to segmentation noisebut you can have a look at pix_opencv objects,there is [pix_opencv_blobtrack] which implements a whole processing chain, including foreground extractor, blob detector, blob tracker and followerI'm not sure it's included in pd-extended, but you can find some binaries on build serverhope this helpantoine
2013/4/17 Ska Frenz <skafrenz@gmail.com>_______________________________________________FrancescoThank you very much for your help :)Hi everyone, this is my first time on the pd-list so I hope I won't do anything wrong.I'm writing here to get some help about pd tracking objects (pix_blob..). I'm using the background subtraction method, to track objects and I need help to understand how I can track multiple objects with multiples different blobs. I'm trying the pix_multiblob and yes, it show 2 blobs..but they track the same object. Then basically I do not understand how can I make the first blob to follow just one object for all the time that specific object is inside the webcam rectangle, and the second blob to track another separate object. I cannot find any material that clearly talks about this.I attached the patch I'm working on. I'd love to see some well-explained examples if you know where to get them.
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