Programming Language : Python
Library used : OpenCV
OpenCV (Open source computer vision) is a library of programming functions mainly aimed at real-time computer vision.Originally developed by Intel, it was later supported by Willow Garage then Itseez (which was later acquired by Intel). The library is cross- platform and free for use under the open-source BSD license.
To run the Program First Install Python 3.7.2
Steps to install Python3.7.2:-
1)First install Python using python-3.7.2.exe
2)Add python to environment varibles and then follow the instructions.
To install opencv Follow these Steps:-
1)Open cmd
2)pip3 install opencv-python
3)check after installation that opencv is installed or not by typing -->
C:\>python
python>>import cv2
python>>cv2.__version__
python>>"4.0.0"
To run the program Follow the following Steps:-
- Open cmd.exe note:-Make sure you have python3 installed in your machine.
- Go to the Directory where the File is saved.
- Type-> python FaceDetector.py
This will open a window with a live feed from your machine's Camera. Your face would be detected and enclosed in rectangular box.