Skip to content

Instantly share code, notes, and snippets.

@easonlai
Created February 13, 2021 09:42
Show Gist options
  • Save easonlai/c86e470a4ebf834979b61191f045efe9 to your computer and use it in GitHub Desktop.
Save easonlai/c86e470a4ebf834979b61191f045efe9 to your computer and use it in GitHub Desktop.
# Initialize camera by CV2
cam = cv2.VideoCapture(0)
cv2.namedWindow("face")
img_counter = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment