lllllllllllllliu
Results
3
comments of
lllllllllllllliu
2021了,有官方API了吗
> 十分感谢 请问你解决了 吗?我还是有些不太明白,想和你交流交流,我的微信kimihasukida
> https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_colorspaces/py_colorspaces.html > > 可以直接用HSV的H通道来模板匹配。 H代表颜色通道 > > ```python > image = cv2.imread("image.png") > template = cv2.imread("tempalte.png") > > himage = cv2.split(cv2.cvtColor(image, cv2.COLOR_BGR2HSV))[0] > htempl = cv2.split(cv2.cvtColor(template, cv2.COLOR_BGR2HSV))[0] > sim...