This is pretty easy (the last argument is the line thickness – -1 sets this to be filled):
cv2.rectangle(frame, (x, y), (w, h), (255, 255, 255), -1)
This is pretty easy (the last argument is the line thickness – -1 sets this to be filled):
cv2.rectangle(frame, (x, y), (w, h), (255, 255, 255), -1)