Skip to content

Instantly share code, notes, and snippets.

@RicoJia
Created August 22, 2021 02:08
Show Gist options
  • Save RicoJia/9677ccfac5f8d224faa098851beda2b4 to your computer and use it in GitHub Desktop.
Save RicoJia/9677ccfac5f8d224faa098851beda2b4 to your computer and use it in GitHub Desktop.
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