We will be writing a small piece of code in colab using python with which we can access our webcam and through this our face and eye is detected.
Clone Opencv repo where you can get haarcascade files.
SYNTAX: mkdir name_of_directory
So the mkdir Video is used to create a new Video directory.
Face detection is a computer technology being used in a variety of applications that identifies human faces in digital images.
In this post, you will learn how to detect face using OpenCV and Python. The following code is executed in COLAB.
2. Uploading the image: