How can I correctly classify the number of positive (bright color) circles and negative (dark color) circles in the image
Long post - please bear with me. For a better understanding of what the goal is and what I have done so far, I have posted the code. Please let me know if any further information is required. I have an image (as shown) and the goal is to correctly classify the number of positive (blue) and negative (purple) circles . I do not care about the semi-circles in the image . As shown in the image, there are 29 circles (excluding the semi circles) in which there 7 positive ones. But my code detects only 1 positive. Here is what I have done so far: import cv2 import numpy as np from matplotlib import