panda_autograsp.functions.functions.draw_axis¶
-
panda_autograsp.functions.functions.draw_axis(img, corners, imgpts)[source]¶ Takes the corners in the chessboard (obtained using cv2.findChessboardCorners()) and axis points to draw a 3D axis.
Parameters: - img (
numpy.ndarray) – Image - corners (
pyton2.tuple) – Chess board corner points. - imgpts (
nmpy.ndarray) – Axis points.
Returns: Image on which the chessboard corners have been drawn.
Return type: - img (