sksurgeryarucotracker.markerpatterns.makemarkerpatterns module

Convenience functions to make ArUco marker patterns

sksurgeryarucotracker.markerpatterns.makemarkerpatterns.float_to_int(array_in, min_scale=1, max_scale=100, increment=1)[source]

converts array_in to integers, with scaling to prevent loss of information :return: an integer array, and the scaling factor used.

sksurgeryarucotracker.markerpatterns.makemarkerpatterns.makemarkerpattern_bymarker(board)[source]

draw a pattern one marker at a time

sksurgeryarucotracker.markerpatterns.makemarkerpatterns.makemarkerpattern_wholeboard(board)[source]

draw a pattern of markers using cv2.aruco drawPlanarBoard