blob detection

in blob detection i am able to identify the object, i wan to find out that how much time it is taking to detect blob object (single or multiple blob object).

Hi, this is just the inverse of the FPS. So, if you’re running at 30 FPS then it’s 33ms.

What is the SI unit of fps?? is it hertz in this case

Yes.

how to measure latency and accuracy in blob detection experiment

? You have to write some more detail on what you want.

I am doing marker based detection with normal color led like rgb colors… I am using blob detection single color script for tracking leds… Since it is finding blob.cx() and blob.cy() I want to find out how accuratey it is tracking and finding blob.cx and blob.cy

I see. We have no metric for this.

Um, cx and cy are just the sum of x/y pixel positions in the tracked color list divided by the number of pixels tracked. Google centroid.

If you want a tracking confidence… then just use the density() method to determine if the object is solid or not. density is the number of pixels divided by the size of the bounding box. When low it means the lock is bad. When high it means the lock is better (i.e. you are tracking all pixels well).

in optical flow you are using phase correlation concept, what is the concept and logic behind blob detection
how is img.find_blob working internally, is it undergoing any transformation

Um, the algorithm for that is somewhat custom. Basically you scan the image looking for pixels that match the thresholds… once you find one you then recursively connect all pixels that share the same thresholds and keep track of what pixels you’ve visited. Then you continue scanning after enumerating all pixels in an object. Read the code if you’d like to know more: https://github.com/openmv/openmv/blob/master/src/omv/img/blob.c

In blob detection you have defined threshold of six tuples of LAB color space, when tracking ,Suppose i am tracking red color does threshold of all six tuple values defined for red should match with target red color or is any one of the threshold value is matching .

Yes