0

Can someone help me on how to detect spots on an image like this on the picture using python?

After detecting the spots, there goes a red circle around and plots it as shown on the pictures attached here.

This is the 3D plot of the detected spots.

AKX
  • 152,115
  • 15
  • 115
  • 172
bad_apple
  • 23
  • 4

1 Answers1

0

You can do this using a Gaussian Mixture Model. I don't think there is a function in SciPy, but there is one in scikit-learn

Here is a tutorial on this.

(from my answer to this question)

Of if your spots always look similar I would recommend Template Matching. There is a function in OpenCV for this. And also one in scikit-image.

Joe
  • 6,758
  • 2
  • 26
  • 47