Skip to content

Real-time face detector with Python, TensorFlow/Keras and OpenCV

Notifications You must be signed in to change notification settings

DARKK-PVT/RealTime_Face_Detector

Repository files navigation

RealTime_Face_Detector

Real-time face detector with Python, TensorFlow/Keras and OpenCV. This is program, that do real-time face detection on webcam image and also can distinguish me from other people.

Setup

To run this code, you must have tensorflow and opencv libraries installed.
You should create virtual environment, activate it and run pip install -r requirements.txt

Project Structure

The project has following structure:

  • data_augmentation.ipynb
  • classifier_model_comparison.ipynb
  • RealTimeDetector.ipynb
  • README.md
  • requirement.txt

Now let's talk about the code files - jupyter notebooks.

  • data_augmentation.ipynb file creates an augmented dataset from an initial one and provides some information about the dataset.
  • classifier_model_comparison.ipynb file contains code to train and test five different models. You can use it as an example to build your own classifier.
  • RealTimeDetector.ipynb file uses the OpenCV library and turns the classifier into a real-time detector.

About

Real-time face detector with Python, TensorFlow/Keras and OpenCV

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published