simultaneous (multi) color and size tracking

kampana's icon

dear all,

i apologize as it's very likely that this issue has been addressed before, yet i could not find information in the forum that was specific enough for what i need.

a scenario: transparent Plexiglas table and a camera mounted right underneath, facing the table's surface from below. i'm taking plastic rectangle shapes of say four different colors and sizes, and place them one after the other on the table.

i would like to track in any given moment: which colors are present on the table, and whats the surface size of each.

can jitter do this at all with its core objects? is there any recommended external color/object detection library i should use to achieve this?

will appreciate any advise!

regards,
K.

MIB's icon

sounds like jit.findbounds would be a good place to start.

7nches's icon

You might want to look at cv.jit, the object in the cv.jit.blobs categories could probably help you.

Sio's icon

how did you do with the patch? i'm interested in doing something similar and i'm not sure where to start.

Rob Ramirez's icon

i would start with the Jitter color tracking tutorial (Tutorial 25).

Paul's icon

cv.jit.blobs only track in greyscale, so not really usable for colour tracking.....