Skip to content

Instantly share code, notes, and snippets.

@aravindpai

aravindpai/12_15.py

Created Apr 28, 2020
Embed
What would you like to do?
def change_2_red(img,person,p1,p2):
risky = np.unique(p1+p2)
for i in risky:
x1,y1,x2,y2 = person[i]
_ = cv2.rectangle(img, (x1, y1), (x2, y2), (255,0,0), 2)
return img
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.