Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我跑的时候出错了cv2.fillPoly(color_warp, pts, (0,255, 0)),然后识别pts为需要int32。但是为什么需要int32呢?
cv2.fillPoly(color_warp, pts, (0,255, 0))
pts
int32
pts保存图像上的点数组。图像是标量矩阵。它由 (X, Y) 值表示,可以相当充分地存储在int32.