【发布时间】:2024-04-19 17:50:01
【问题描述】:
运行cv2.getRectSubPix(img, (5,5), (0,0)) 会抛出错误:
OpenCV Error: Unsupported format or combination of formats (Unsupported combination of input and output formats) in getRectSubPix.
img 的dtype 是float64,由img.dtype 确定。
【问题讨论】: