1)First install Python using the setup.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.