Blob Elongation Always 1

Hello, I am tyring to use blob detection to detect round balloons of specific color while avoiding detection of straight line shape balloons. I am trying to use blob.elongation() to identify the straight line shape balloons. The blob.elongation() function seems to always output one. I can not get the value to change based on how long the balloon is. I would love some help/advice

Hi, it’s only going to output a different value if the shape is very long versus wide. An example picture would help.

OIP
Attached is a reference picture for the round balloon blob.elongation() outputs as 1

Yeah, that’s a circle.

The balloon will need to be like a hotdog for that output to change.