module documentation

Undocumented

Class Marker Undocumented
Class PotentialMarker Undocumented
Function complicated_sort_markers Undocumented
Function draw_markers Undocumented
Function extract_img_markers Extract working area from an image thanks to 4 Niryo's markers :param img: OpenCV image which contain 4 Niryo's markers :param workspace_ratio: Ratio between the width and the height of the area represented by the markers :return: extracted and warped working area image...
Function extract_sub_img Extract an small image from a big one using a Perspective Warp :param img: Big image from which the small one will be extracted :param list_corners: corners list of the small image :param ratio_w_h: Width over Height ratio of the area...
Function find_markers_from_img_thresh Undocumented
Function sort_markers_detection Undocumented
Constant IM_EXTRACT_SMALL_SIDE_PIXELS Undocumented
def complicated_sort_markers(list_markers, workspace_ratio):

Undocumented

def draw_markers(img, workspace_ratio=1.0):

Undocumented

def extract_img_markers(img, workspace_ratio=1.0):

Extract working area from an image thanks to 4 Niryo's markers :param img: OpenCV image which contain 4 Niryo's markers :param workspace_ratio: Ratio between the width and the height of the area represented by the markers :return: extracted and warped working area image

def extract_sub_img(img, list_corners, ratio_w_h=1.0):

Extract an small image from a big one using a Perspective Warp :param img: Big image from which the small one will be extracted :param list_corners: corners list of the small image :param ratio_w_h: Width over Height ratio of the area. It helps to not stretch the working area image :return: extracted and warped image

def find_markers_from_img_thresh(img_thresh, max_dist_between_centers=3, min_radius_circle=4, max_radius_circle=35, min_radius_marker=7):

Undocumented

def sort_markers_detection(list_markers):

Undocumented

IM_EXTRACT_SMALL_SIDE_PIXELS: int =

Undocumented

Value
200