Last active
July 18, 2020 11:35
-
-
Save poudyalanil/f9e3ef95fdf14dfa2b3bc1ba4973141e to your computer and use it in GitHub Desktop.
face-detection1
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
import cv2 | |
#loading pre trained face data from opencv | |
trained_data = cv2.CascadeClassifier('frontal-face-data.xml') | |
#grabbing webcam | |
webcam = cv2.VideoCapture(0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment