Skip to content

Latest commit

 

History

History
90 lines (72 loc) · 2.65 KB

File metadata and controls

90 lines (72 loc) · 2.65 KB

Fastest Realtime Multiple Faces Detection

Fastest Realtime Multiple Faces Detection using the deep neural networks (dnn) module algorithm in OpenCV.

OpenCV Deep Neural Networks (dnn module)

OpenCV dnn module supports running inference on pre-trained deep learning models from popular frameworks such as TensorFlow, Torch, Darknet and Caffe.

Walking in London Faces Detection

Walking in Melbourne Faces Detection

Walking in New York Faces Detection

Imutils

Imutils are a series of convenience functions to make basic image processing functions such as translation, rotation, resizing, skeletonization, and displaying Matplotlib images easier with OpenCV and both Python 2.7 and Python 3

Requirement

  • Python 3.7
  • OpenCV 4.2.0
  • imutils
  • numpy==1.15.4

Quick start

The Project Repository Directory Structure

Firstly create data folder
Then create model folder inside data folder
And create weights folder inside data folder

Dependencies

  • opencv
  • numpy
  • imutils

Install dependencies

pip install opencv-python

pip install numpy

pip install imutils

How to use?

  1. Clone the repository
  2. git clone https://github.com/muhammadshiraz/Fastest-Realtime-Multiple-Faces-Detection.git

  1. Move to the directory
  2. cd Fastest-Realtime-Multiple-Faces-Detection

  1. To view the Fastest Realtime Multiple Faces Detection
  2. python face_detection_cap.py

Run by PyCharm IDE: