Forums > Jitter

cv.jit : finding the object closest to a specific point

January 25, 2007 | 8:28 pm

Hi.

I have a fairly straightforward patch that does some background
subtraction, then tracks a blob. When there are multiple blobs, I
would like to only follow the one that is closest to a particular
coordinate in the matrix (say 0, 60).

How would I start approaching this?

Thanks,

Scott


January 26, 2007 | 8:18 am

cv.jit.label -> cv.jit.blobs.centroids -> jit.iter -> vexpr -> cartopol

Hopefully this should get you started.


Viewing 2 posts - 1 through 2 (of 2 total)