Answers for "draw a rectange in cv2"

18

cv2.rectangle

import cv2

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


x1,y1 ------
|          |
|          |
|          |
--------x2,y2
Posted by: Guest on December-04-2020

Python Answers by Framework

Browse Popular Code Answers by Language