<div dir="ltr">how is it possible to use several cameras, correct perspective on each, make a big picture with blending and then tracking on that big picture with CCV ?<div>this have been done with Pd and pix_opencv and works great (at least if you&#39;re not using a cheap V4L2 cam with buggy drivers)</div>

</div><div class="gmail_extra"><br clear="all"><div>--<br>do it yourself                       <br><a href="http://antoine.villeret.free.fr" target="_blank">http://antoine.villeret.free.fr</a><br></div>
<br><br><div class="gmail_quote">2013/4/18 John Harrison <span dir="ltr">&lt;<a href="mailto:john.harrison@alum.mit.edu" target="_blank">john.harrison@alum.mit.edu</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

FWIW I had just the opposite experience with CCV. CCV has built-in background adaptive subtraction, smoothing, highpass filter, gain, contrast, etc. all tweakable. It also tracks blobs uniquely as the original poster is wanting, which is why I thought of it for their needs. I used [pix_blobtracker] before and it works OK but I found CCV to be overall a more robust solution than anything I could efficiently come up with.<div>



<br></div><div>I use CCV at 60fps 640x480 w/ a ps3eye on ubuntu 10.04 64 bit and the CPU load is not significant and reduced from my original Pd-only solution. My CCV/Pd patch has been on exhibit 24/7 for 5 months now without issue so it also seems stable. I use CCV version 1.4. I also used CCV on another exhibit with a Win7 64 bit system and that ran for months as well without issue. That might have been version 1.5 but I don&#39;t remember for sure. I also know there&#39;s a newer version of CCV supporting multiple cameras now, and I have not had experience with this.</div>



<div><br></div><div>Maybe I&#39;m not understanding the flexibility you are looking for that CCV is not offering you. All I can imagine is that you can&#39;t find a way to change the order of the filtering. I&#39;m not sure that&#39;s something you&#39;ll find you actually need though to improve the result of the blob tracking.</div>



<div><br></div><div>Just my $.02.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-John</div></font></span><div class="HOEnZb"><div class="h5"><div><br><div class="gmail_quote">On Thu, Apr 18, 2013 at 8:42 AM, Antoine Villeret <span dir="ltr">&lt;<a href="mailto:antoine.villeret@gmail.com" target="_blank">antoine.villeret@gmail.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">i tried CCV one time but i had some driver and performance issues<div>moreover, i can&#39;t find an easy way to tune the processing chain</div>



<div>pd is more flexible but, i agree, could be harder</div>

</div><div class="gmail_extra"><div><br clear="all"><div>--<br>do it yourself                       <br><a href="http://antoine.villeret.free.fr" target="_blank">http://antoine.villeret.free.fr</a><br></div>
<br><br></div><div><div><div class="gmail_quote">2013/4/18 John Harrison <span dir="ltr">&lt;<a href="mailto:john.harrison@alum.mit.edu" target="_blank">john.harrison@alum.mit.edu</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





I&#39;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 --&gt; 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.<span><font color="#888888"><div>







<br></div></font></span><div><span><font color="#888888">-John</font></span><div><div><br><br><div class="gmail_quote">On Thu, Apr 18, 2013 at 5:22 AM, Ska Frenz <span dir="ltr">&lt;<a href="mailto:skafrenz@gmail.com" target="_blank">skafrenz@gmail.com</a>&gt;</span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div><div>Hi, thank you for the suggestions, I&#39;ll check openCv. Can you explain how to use &quot;morphological filters&quot; to clear up the noise in the image? Are there examples around? Also, could you please explain me better what do you mean with &quot;adaptive background subtraction method&quot;?<br>








<br></div>Thank you for your time :)<br><br></div>francesco<br></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/17 Antoine Villeret <span dir="ltr">&lt;<a href="mailto:antoine.villeret@gmail.com" target="_blank">antoine.villeret@gmail.com</a>&gt;</span><br>








<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">hi, <div><br></div><div>the segmentation method (how you extract what is your interest from the rest of the image) is very critical in video tracking</div>








<div>background 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)</div>

<div>moreover, there is no general method to do video tracking, it depends on what you want to track and how it is filmed</div><div><br></div><div>so, the first thing is to have a good image, with not too much lighting changes, good contrast between background and features to track</div>










<div>then you can start thinking about segmentation, and the segmentation accuracy depends on the quality of the video</div><div>you may need to do something more than just background subtraction, for example, you could apply some morphological filter to remove noise</div>










<div>after that, you can start tracking<br></div><div>you could also apply a threshold on the blob size to not track very small blob</div><div>blob of interest are often surrounded by very small blobs due to segmentation noise</div>










<div><br></div><div>but you can have a look at pix_opencv objects,</div><div>there is [pix_opencv_blobtrack] which implements a whole processing chain, including foreground extractor, blob detector, blob tracker and follower</div>










<div>I&#39;m not sure it&#39;s included in pd-extended, but you can find some binaries on build server</div><div><br></div><div>hope this help</div><div><br></div><div>antoine</div><div>

<br></div></div><div class="gmail_extra"><br clear="all"><div>--<br>do it yourself                       <br><a href="http://antoine.villeret.free.fr" target="_blank">http://antoine.villeret.free.fr</a><br></div>
<br><br><div class="gmail_quote">2013/4/17 Ska Frenz <span dir="ltr">&lt;<a href="mailto:skafrenz@gmail.com" target="_blank">skafrenz@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">








<div><div>

<div dir="ltr"><div><div><div>Hi everyone, this is my first time on the pd-list so I hope I won&#39;t do anything wrong. <br></div>I&#39;m
 writing here to get some help about pd tracking objects (pix_blob..). 
I&#39;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&#39;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&#39;m working on. I&#39;d love to see some well-explained examples if you know where to
 get them.<br>
</div>Thank you very much for your help :)<br><br></div>Francesco</div>
<br></div></div>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>