Is it possible to use the function cv2.circle() to draw more than one circle in a frame?

asked 2018-11-08 13:12:45 -0500

I'm trying to recognize multiple colored balls in the same frame, but show a circle around it with the color that corresponds to the color. For example, if i have a red, green and blue ball in a frame i want to draw a circle around each ball. The circle would have a red outline when around the red ball, green outline with the green ball and so on. Right now I can find the ball and draw a circle around only one ball even though it know there are multiple balls there.

P.S. This is coded in Python

edit retag flag offensive close merge delete

Comments

Yet it is possible -> tutorial and here many circles

Now we can't help you more without your code

LBerger gravatar imageLBerger ( 2018-11-08 13:34:52 -0500 )edit