📅  最后修改于: 2022-03-11 14:47:25.250000             🧑  作者: Mango
# cv2.rectangle(img, pt1, pt2, color, thickness, lineType, shift)
cv2.rectangle(img, (x1, y1), (x2, y2), (255,0,0), 2)
"""
x1,y1 ------
| |
| |
| |
--------x2,y2
"""