清空 (@momo4)aircv模板匹配和cv2展示 中发帖

[image] 
import aircv as ac
import cv2

# 读取大图和小图
large_image_path = r"\cf\Pictures\Screenshots\模板.png"
small_image_path = r"\Pictures\Screenshots\目标.png"

large_image = ac.imread(large_image_path)
small_image = ac.imread(small_image_path)

# 进行模板匹配
match_result = ac.find_template(large_image, small_image)

# 检查是否匹配成功
if match_result:
print("匹配成功!坐标:", match_result['result'])
print("相似度:"...