QimingChen / RealTimeHyperface

A neural network architecture for realtime simultaneous face detection, landmark localization, pose estimation and gender recognition.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RealTime Hyperface

A neural network architecture for realtime simultaneous face detection, landmark localization, pose estimation and gender recognition.

This work was inspired by the following two publicationss:

DEMO

DATASET

Annotated Facial Landmarks in the Wild (AFLW)

Network Architecture

Like in Faster-RCNN, the Region Proposal Network (RPN) generates candidate proposals for face regions. These are backprojected to the earlier layers as in HyperFace. The feature maps from these layers are then merged and the all the tasks(detection, landmark localization, pose estimation, gender recognition) are performed on the merged feature vector.

RPN Vizualization

The above images show the heat-maps of the final RPN layer for different anchor sizes.

Layer vizualization

The RPN proposals are backprojected on intermediate layers of VGGNet. These features are visualized here.

  • For single face

  • For multiple faces

RESULTS

Some examples of annotated images from AFLW datasets.

  • Red bounding boxes show female gender and blue boxes show male.

  • Yellow bounding boxes are the ones proposed by the RPN. Improved bounding boxes shown in red/blue are generated after applying bounding-box-reggression.

Face Detection

Gender Recognition

Pose Estimation

We have achieved a frame rate of 4FPS on Nvidia Geforce GTX TITAN X GPU.

REPORT

Project Report

About

A neural network architecture for realtime simultaneous face detection, landmark localization, pose estimation and gender recognition.


Languages

Language:Jupyter Notebook 55.6%Language:Python 44.4%