cv.rectangle(blank, (100,200), (200,100), (0,255,0), thickness=2)
Syntax: cv2.rectangle(image, start_point, end_point, color, thickness)
start_point: It is the starting coordinates of rectangle. The coordinates are represented as tuples of two values i.e. (X coordinate value, Y coordinate value).
end_point: It is the ending coordinates of rectangle. The coordinates are represented as tuples of two values i.e. (X coordinate value, Y coordinate value).
cv.rectangle(img,(384,0),(510,128),(0,255,0),3)