Detection of spots on an image, 3D-plotting of detected spots then calculate PYTHON

Clash Royale CLAN TAG#URR8PPP
Detection of spots on an image, 3D-plotting of detected spots then calculate PYTHON
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.

1 Answer
1
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.
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.