Documentation
Face Detection
[![Status](https://img.shields.io/badge/status-active-success.svg)]()
[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/kylelobo/The-Documentation-Compendium.svg)](https://github.com/Tech-Matrix/Face-Detection/pulls?q=is%3Aopen+is%3Apr)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE)
Face detection is an extremely important technology that is used widely around the world and has many uses such as combing cctv footage detecting individuals which are used for large scale purposes as well as small scale purposes like unlocking phones
π Table of Contents
π§ About
The aim for this project is to detect the individual's face using a box shape image as well as other parts of the face.
Other aims include emotion detection and object identification in the case that there is no presence of a face.
This repository is written in python and uses the opencv library as it already has tools which can be used to record a live video as well as have a method to mark facial features with certain shapes.
We utilise HaarCascades so as to avoid having to write a separate object detection algorithm, however their scope is limited due to limited number of haarCascades.
π Getting Started
π Prerequisites
What things you need to install the software and how to install them.
- Install OpenCV
- Install Python 3.7 (For best use as it is configured to OpenCV)
- Atleast one webcam(inbuilt/Added)
π Usage
- Download the right python package(3.7).
- Be careful when downloading the correct haarCascades.
- Execute the Python script.
- Note that you have specified your webcam in the script and are not using it for other purposes. [ cv2.VideoCapture(0) ]
- Also note the exit button needed to close the program. [ Use cv2.waitkey() ]
1.Make certain TensorFlow downloaded
1.Run this command:- python LiveVideoFaceDetection.py --mode display
βοΈ Built Using
π Acknowledgements