摘要:
import cv2import numpy as npdef find_template(template_path, image_path): # 加载模板和图像,并将它们转换成灰度图像 template = cv2.imread(template_path, 0) image = cv2.im 阅读全文
posted @ 2025-02-28 19:03
粥店接济
阅读(126)
评论(0)
推荐(0)
摘要:
from pathlib import Pathimport numpyimport cv2class Image: def __init__(self, image): self.image = cv2.imread(image, cv2.IMREAD_UNCHANGED) @property d 阅读全文
posted @ 2025-02-28 15:23
粥店接济
阅读(83)
评论(0)
推荐(0)

浙公网安备 33010602011771号