Code Monkey home page Code Monkey logo

azface's Introduction

azFace YOLOv2 Face Detector

This is a tiny yolo face detector trained on FDDB+Dlib dataset. It was trained on a GTX1080 for about 82k iterations. It runs fast at 112 fps on GTX1080 which is more than enough for realtime usage.

Preview

How To Use

Windows

Clone the repo

>git clone https://github.com/azmathmoosa/azFace.git

CD into the repo

>cd azFace

Launch yolo_console_dll.exe followed by path to video/image

>yolo_console_dll.exe C:\random\video.mp4

Or use the darknet executable

>darknet.exe detector demo net_cfg\azface.data net_cfg\tiny-yolo-azface-fddb.cfg weights\tiny-yolo-azface-fddb_82000.weights C:\Dataset\random\crowd.mp4

Linux

  1. Clone this repo and the darknet repo.
  2. Follow the instructions of darknet to build it
  3. After building use the provided cfg and weight files like so
./darknet detector demo net_cfg/azface.data net_cfg/tiny-yolo-azface-fddb.cfg weights/tiny-yolo-azface-fddb_82000.weights /path/to/my/video.mp4

Make your own Videos

To record a video use this command

>darknet.exe detector demo net_cfg\azface.data net_cfg\tiny-yolo-azface-fddb.cfg weights\tiny-yolo-azface-fddb_82000.weights C:\Dataset\random\crowd.mp4 -out_filename test.avi

You will need DivX codec installed to record and VLC to play the video.

License

This work is licensed under LGPLv3. Please attribute to the author incase you find this work useful.

About Me

In my spare time I offer consultation services for deep learning projects. If you need assistance for your projects feel free to reach me at a z m a t h m o o s a @ g m a i l dot c o m

azface's People

Contributors

azmathmoosa avatar

Watchers

 avatar  avatar

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.