how to detect waterdroplet in given images
Hi, I am using python programming to detect water droplet its size and position in these images in real time image processing scenario. I used opencv version 4 in python. I already used canny edge detection, thresholding approach but it didn't work. So I used the haar cascade approach which worked on the previous image but not on new images. Can you please suggest me any other approach for this.
I think the fast radial symmetry transform (Roy&Zelinsky 2003) is worth trying: article
thank you for your response. Can you please tell me how can I implement this algorithm in python. I tried https://pypi.org/project/frst/ and https://github.com/ChristianGutowski/... but the documentation doesn't show how to implement their program.
Use an accumulator image.
Get the gradients (gx,gy), calculate its magnitude and directions (cartToPolar), then for each pixel add a +1 and a -1 to the accumulator image in the positive and negative gradient direction at a given distance D from the current pixel.
For example for a gradient direction 0° (horizontal) in the pixel (100,100) and D=10, you add +1 to (110,100) and -1 to (90,100).