📜  cv2.rectangle - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:43.252000             🧑  作者: Mango

代码示例1
import cv2

cv2.rectangle(img, (x1, y1), (x2, y2), (255,0,0), 2)


x1,y1 ------
|          |
|          |
|          |
--------x2,y2