From: Nils O. T. <no...@gm...> - 2005-07-25 17:31:27
|
Here's what I did to get the blobfinder to work: 1) add a cameracompress driver to the player server 2) view the stream from this camera interace with the videoplayer software from the 3rd party section on the player website 3) capture a camera picture from that program, turn it into YUV (I used Gimp+ a plugin for that) 4) measure the YUV values of the object in the converted picture and estimate if its different enough from its environment 5) write those values in the color.txt (its YUV at the thresholds) then it worked for me, took ages and some source code reading to find out that the thresholds are in YUV hope that helps Ole -- Nils Ole Tippenhauer Exchange research student PAMI lab, University of Waterloo pami.uwaterloo.ca Thanomsak Agganapanya wrote: > Hi > I trying to use CMVision driver for detect yellow > object.I place yellow object in front of my logitech > quickcam.When I run playerv and subscribe blobfinder I > can't see anything on playerv window. what happen? > Here is my config file: > driver > ( > name "camerav4l" > provides ["camera:0"] > port "/dev/video1" > size [320 240] > mode "YUV420P" > source 0 > ) > driver > ( > name "cmvision" > provides ["blobfinder:0"] > requires ["camera:0"] > colorfile ["color.txt"] > ) > And this is my color.txt: > [Colors] > (00,00,00) 0.000000 'Yellow' > [Thresholds] > (170:200,185:220,85:115) > > > > > ____________________________________________________ > Start your day with Yahoo! - make it your home page > http://www.yahoo.com/r/hs > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > > |