rayan1810 / Face-Detector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About


Languages

Language:Python 100.0%