getting coordinates of multiple blobs

Nov 6, 2006 at 1:43pm

getting coordinates of multiple blobs

I’m using cv.jit.blobs.bounds in combination with jit.iter and unpack to get the coordinates of a bounding box. What i want though is to get the coordinates of all boxes displayed. Right now it only outputs the data from the first box.

How can I accomplish this?

#28546
Nov 6, 2006 at 3:30pm

hard to say whats wrong without a patch, cvBlobs works
connect this to the demo patch and see if its good for you
max v2;
#N vpatcher 25 70 625 470;
#P origin 0 137;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 30 76 94 9109513 t b l;
#P newex 30 108 94 9109513 pack blob 1 1 1 1 1;
#N coll ;
#P newobj 31 157 94 9109513 coll;
#P newex 30 132 94 9109513 route blob;
#P newex 30 54 94 9109513 jit.iter;
#P connect 0 0 4 0;
#P connect 4 0 3 0;
#P connect 3 0 1 0;
#P connect 1 0 2 0;
#P connect 0 1 3 1;
#P connect 4 1 3 2;
#P pop;

On 11/6/06, Bart wrote:
>
>
> I’m using cv.jit.blobs.bounds in combination with jit.iter and unpack to
> get the coordinates of a bounding box. What i want though is to get the
> coordinates of all boxes displayed. Right now it only outputs the data from
> the first box.
>
> How can I accomplish this?
>

#87789

You must be logged in to reply to this topic.