def __init__(self, img_path) -> None:
    '\n            读取图片\n        '
    self.img = cv2.imread(img_path)
读取图片
def __init__(self, img_path) -> None:
    '\n            \n        '
    self.img = cv2.imread(img_path)