def circle_grid(image, pattern_size=(4, 11)):
 (status, centers) = cv2.findCirclesGridDefault(image, pattern_size, flags=cv2.CALIB_CB_ASYMMETRIC_GRID)
 if status:
  return centers
 else:
  return None

def circle_grid ( image , pattern_size = ( 4 , 11 ) ) : ( status , centers ) = cv2 . findCirclesGridDefault ( image , pattern_size , flags = cv2 . CALIB_CB_ASYMMETRIC_GRID ) if status : return centers else : return None
circle grid: finds an assymetric circle pattern - circle_id: sorted from bottom left to top right - if no circle_id is given .