GithubHelp home page GithubHelp logo

sr6033 / face-detection-with-opencv-and-dnn Goto Github PK

View Code? Open in Web Editor NEW
57.0 5.0 37.0 14.15 MB

Detecting faces using OpenCV's Deep Neural Network

License: MIT License

Python 100.00%
opencv python3 dnn vision

face-detection-with-opencv-and-dnn's Introduction

Face detection using OpenCV and Deep Neural Network

Detected faces

How to run?

To use in an image:

$ python detect_faces.py --image group.jpg --prototxt deploy.prototxt.txt --model \
res10_300x300_ssd_iter_140000.caffemodel

To use in webcam:

$ python detect_faces_video.py --prototxt deploy.prototxt.txt --model \
res10_300x300_ssd_iter_140000.caffemodel

face-detection-with-opencv-and-dnn's People

Contributors

sr6033 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

face-detection-with-opencv-and-dnn's Issues

ONNX model

Could you share the model in onnx format?

Thanks

Understanding your code

Hi

I am trying to understand your code

for i in range(0, detections.shape[2]):

so you are iterating over the channels ?
in this case you would only ever see 2 or 3 faces in an image ?

I am sure I have this wrong, using your code, how would I get the Number of Faces detected?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.