GithubHelp home page GithubHelp logo

ashishtrivedi16 / hyperface Goto Github PK

View Code? Open in Web Editor NEW
12.0 1.0 1.0 2.97 MB

Contains the implementation of HyperFace: A deep multi task learning framework for facial recognition, landmark detection, pose and gender detection

Jupyter Notebook 94.58% Python 5.42%
machine-learning deep-learning deep-neural-networks face-recognition pose-estimation gender-recognition landmark-recognition convolutional-neural-networks keras tensorflow

hyperface's Introduction

HyperFace

Contains the implementation of HyperFace: A deep multi task learning framework for facial recognition, landmark detection, pose and gender detection

TODO :

  • Implement HyperFace-AlexNet

    • Selective search
    • Iterative region proposal (IRP)
    • Landmark based - Non Maximum Suppression (L-NMS)
    • skip training RCNN on imagenet and directly train on region proposals from AFLW dataset
    • Copy weights to the hyperface model and retrain it on AFLW dataset
  • Implement HyperFace-ResNet101

    • Uses keras.application to load model weights and retrain R-CNN
    • Re-write the model architecture for resnet and carry out training
  • Experimental stuff

    • Find better loss functions/ Implement custom loss functions
    • Find better optimizer
    • Decide on using ReduceLROnPlateau or not, look for useful callbacks
  • Future Plans

    • Implement using ResNet
    • Divide the code into seperate files
    • support command line arguments
  • Known issues

    • openCV's imread function reads in BGR instead of RGB, skimage ioread is comparatively slower than openCV, matplotlib shows wrong image plots because of BGR mode
    • Some images are bw by default so proper dimension conversion can not be done at all images (at the moment those images are skipped to save me from headache)
    • Processing all images uses up 14gb+ of RAM, so try and implement some other way because I plan on implementing data augementation in future to increase face detection accuracy
    • No official keras implementation of ResNet101, this code relies on experimental code(ro be changed in next version update)

Current model archietecture (AlexNet) is shown below -

HyperFace AlexNet

hyperface's People

Contributors

ashishtrivedi16 avatar

Stargazers

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

Watchers

 avatar

Forkers

kurhula

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.