def __init__(self, height, width, image_path):
self.height, self.width = height, width
self.clear_screen()
if image_path:
self.make_image(image_path)
cv2.namedWindow('Draw OccupancyGrid')
cv2.setMouseCallback('Draw OccupancyGrid', self.do_draw)
self.drawing = 0
评论列表
文章目录