Code Monkey home page Code Monkey logo

fitrialif / hyperface-with-squeezenet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sourabhvora/hyperface-with-squeezenet

0.0 2.0 0.0 246 KB

Two multitasking CNNs for simultaneous face detection, landmarks estimation and visibility, pose estimation and gender recognition. hyperface.py concatenates feature maps from initial, mid and final layers of the network and then branches out to different heads. multiout.py branches from the final layer of the network to different heads. DataGen2.py is the Data Generator used for reading multiple labels from json files. It is a modified version of Keras's default Data Generator. The idea is based on the following paper - [1] R. Ranjan, V. M. Patel, and R. Chellappa. Hyperface: A deep multitask learning framework for face detection, landmark localization, pose estimation, and gender recognition. CoRR, abs/1603.01249, 2016. The implementation is slightly different. The original HyperFace architecture is built on top of AlexNet while the implementation here uses another architecture called SqueezeNet.

Python 100.00%

hyperface-with-squeezenet's Introduction

HyperFace-with-SqueezeNet

Two multitasking CNNs for simultaneous face detection, landmarks estimation and visibility, pose estimation and gender recognition. Implemented for the final course project of the Neural Networks and Pattern Recognition (CSE253) course at UCSD.

hyperface.py

It concatenates feature maps from initial, mid and final layers of the network and then branches out to different heads. ย 

multiout.py

It branches from the final layer of the network to different heads.

DataGen2.py

It is the Data Generator used for reading multiple labels from json files. It is a modified version of Keras's default Data Generator.

Sample Outputs

SampleOut1.JPG, SampleOut2.JPG, SampleOut3.JPG are the results of the hyperface model. On the left is the visualization of the predicted head pose of the person while on the right are the estimated landmarks, their visibility (the landmarks which the network predicts as occluded are shown in red) and the predicted gender.

Reference

The idea is based on the following paper - [1] R. Ranjan, V. M. Patel, and R. Chellappa. Hyperface: A deep multitask learning framework for face detection, landmark localization, pose estimation, and gender recognition. CoRR, abs/1603.01249, 2016.

This implementation is slightly different. The original HyperFace architecture is built on top of AlexNet while the implementation here uses another architecture called SqueezeNet.

hyperface-with-squeezenet's People

Contributors

sourabhvora 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.