import cv2
import numpy as np

#mouse callback fun
def draw_circle(event,x,y,flags,param):
	if event == cv2.EVENT_LBUTTONDBLCLK:
		cv2.circle(img,(x,y),100,(255,0,0),-1)

#create a black img a window and bound window with fun
img = np.zeros((512,512,3), np.uint8)
cv2.namedWindow('image')
cv2.setMouseCallBack('image',draw_circle)

while(1):
	cv2.imshow('image',img)
	if cv2.waitKey(20) & 0xFF == 27:
		break
cv2.destroyAllWindow()


ca79de9a3c4493d2234d8fe029561a7d94c48bf3
<mask token>


def draw_circle(event, x, y, flags, param):
    if event == cv2.EVENT_LBUTTONDBLCLK:
        cv2.circle(img, (x, y), 100, (255, 0, 0), -1)


<mask token>

<mask token>


def draw_circle(event, x, y, flags, param):
    if event == cv2.EVENT_LBUTTONDBLCLK:
        cv2.circle(img, (x, y), 100, (255, 0, 0), -1)


<mask token>
cv2.namedWindow('image')
cv2.setMouseCallBack('image', draw_circle)
while 1:
    cv2.imshow('image', img)
    if cv2.waitKey(20) & 255 == 27:
        break
cv2.destroyAllWindow()

<mask token>


def draw_circle(event, x, y, flags, param):
    if event == cv2.EVENT_LBUTTONDBLCLK:
        cv2.circle(img, (x, y), 100, (255, 0, 0), -1)


img = np.zeros((512, 512, 3), np.uint8)
cv2.namedWindow('image')
cv2.setMouseCallBack('image', draw_circle)
while 1:
    cv2.imshow('image', img)
    if cv2.waitKey(20) & 255 == 27:
        break
cv2.destroyAllWindow()

import cv2
import numpy as np


def draw_circle(event, x, y, flags, param):
    if event == cv2.EVENT_LBUTTONDBLCLK:
        cv2.circle(img, (x, y), 100, (255, 0, 0), -1)


img = np.zeros((512, 512, 3), np.uint8)
cv2.namedWindow('image')
cv2.setMouseCallBack('image', draw_circle)
while 1:
    cv2.imshow('image', img)
    if cv2.waitKey(20) & 255 == 27:
        break
cv2.destroyAllWindow()

import cv2
import numpy as np

#mouse callback fun
def draw_circle(event,x,y,flags,param):
	if event == cv2.EVENT_LBUTTONDBLCLK:
		cv2.circle(img,(x,y),100,(255,0,0),-1)

#create a black img a window and bound window with fun
img = np.zeros((512,512,3), np.uint8)
cv2.namedWindow('image')
cv2.setMouseCallBack('image',draw_circle)

while(1):
	cv2.imshow('image',img)
	if cv2.waitKey(20) & 0xFF == 27:
		break
cv2.destroyAllWindow()

