Skip to content

the-house-of-black-and-white/opencv-dnn-demo

Repository files navigation

Face detection using YOLOv2

This demo shows 2 face detectors:

  1. OpenCVs Viola Jones implementation (red)
  2. YOLOv2 trained on the WIDER FACE dataset (green)

It's using OpenCV's dnn module for YOLO inference. Check out the video below:

Demo

Running

You can easily run this demo by cloning this repo and running the run.sh script, or with docker directly:

xhost + && \
docker run --privileged --rm -it \
  -e DISPLAY=unix$DISPLAY \
  -v /tmp/.X11-unix:/tmp/.X11-unix \
   housebw/demo python app.py

The housebw/demo docker image includes all necessary dependencies as well as the trained models.

Face Detection Model Zoo

Check out the 5 pre trained models in the zoo!

About

Realtime Face detection demo using YOLO v2 and OpenCV DNN module

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published