Created
August 22, 2021 02:08
-
-
Save RicoJia/9677ccfac5f8d224faa098851beda2b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PINK = (179, 102, 255) | |
def draw_point(frame, coords): | |
cv2.circle(frame, coords, radius=2, color=PINK, thickness=-1) | |
def draw_box(frame, corners): | |
cv2.rectangle(frame, corners[0], corners[1], PINK, 3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment