import cv2
cv2.rectangle(img, (x1, y1), (x2, y2), (255,0,0), 2)
x1,y1 ------
| |
| |
| |
--------x2,y2
cv2.rectangle(image, start_point, end_point, color, thickness)
cv2.rectangle(Face, (x, y), (x+w, y+h), (255, 255, 255), thickness)
x,y-----------x+w
|
|
|
y+h
and the rest cv2.rectangle() will draw for you.
#P.S the x and y are coordinates and the w and h are width and height