Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 815 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 815 Bytes

Face&Eye-Detector using Haar Cascade

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:-

  1. Open cmd.exe note:-Make sure you have python3 installed in your machine.
  2. Go to the Directory where the File is saved.
  3. 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.