Coder Social home page Coder Social logo

hamedkiani / correlation-filter-cascade-face-landmark-localization Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 27.12 MB

cascade correlation filter for super fast face landmark detection (500 landmarks/sec)

Home Page: http://www.hamedkiani.com

License: MIT License

MATLAB 100.00%
correlation-filters facial-landmarks facial-detection facial-features matlab-codes cascade-detection landmark-localization

correlation-filter-cascade-face-landmark-localization's Introduction

Correlation Filter Cascade for Facial Landmark Localization

Hamed Kiani and Terence Sim

WACV 2016

Abstract

The application of correlation filters for the task of facial landmark detection has been studied by many vision works. Their success, however, is limited by the presence of large pose variations, expression and occlusion in face images. Moreover, existing correlation filters may suffer from poor discrimination to distinguish visually similar landmarks such as the right and left eyes. In this work, we present a new framework, referred to as Correlation Filter Cascade, to address the above limitations. The proposed framework consists of a set of correlation filters with different spatial supports (sizes) which are connected together in a cascade form. More specifically, the size of filters decreases from the lower to upper levels. Filters at lower levels implicitly code face shape information since they are trained using large patches stemmed from face images. This avoids ambiguous detection caused by landmarks with similar appearance. Detection in these levels, however, may not be accurate and suffer from small localization errors, mainly caused by face pose, expression and occlusion. Therefore, locations detected by lower levels will be further used by the higher levels to narrow down their search regions. Since the filters at higher levels have smaller size, they are less affected by pose, expression and occlusion, and thus, can perform more accurately. The evaluation on BioID and LFPW shows the superiority of our method compared to prior correlation filters and leading facial landmark detectors.

Core idea: learning from background patches

we introduce a cascade framework for the task of facial landmark localization in the following figure depicting the scheme of the proposed framework. In particular, our framework consists of a set of correlation filters with different spatial supports (sizes) which are hierarchically connected together in a cascade manner. The size of filters decreases from lower to higher levels, meaning that filters at lower levels have bigger size compared to those at higher levels. Filters at lower levels are trained using bigger patches (for instance, the filter at level 0 in Fig. 1 is trained using whole face images) and explicitly capture face shape information. This offers stability against ambiguous detection. Filters at higher levels, on the other hand, are trained using smaller patches, and, as a result, are more robust against uncontrolled face pose, occlusion and expression. The correlation outputs returned by each level is used to narrow down the search region for its upper level. The final landmark location is determined by averaging the locations estimated by all filters over the cascade framework.


Quantitative results

  1. Accurate landmark detection over cascade levels. The ground truth and predicted locations are shown by blue dots and red squares, respectively. The images are selected from the LFPW testing set.



  1. Detection examples of the LPFW dataset. The first two rows show the successful detections under challenging circumstances of expression, occlusion, pose, lighting and poor quality. The third row shows some failed cases. The red and blue marks respectively show the detected landmark and the ground truth.



  1. Detection examples of the BioID dataset. The red squares and blue dots represent the detected and ground truth landmarks, respectively.

Running instructions

The code for training and testing cascade level of correlation filters (multi channel correlation filters) are provided above. You can define different levels with different size, and different features for different landmarks.

The mat files for BioID are provided, run train_test_BioID.m in MATLAB and you see the evaluation results.

Reference

http://www.hamedkiani.com/uploads/5/1/8/8/51882963/cascade_cf_camera_ready_submitted.pdf

@inproceedings{galoogahi2016correlation,
  title={Correlation filter cascade for facial landmark localization},
  author={Galoogahi, Hamed Kiani and Sim, Terence},
  booktitle={Applications of Computer Vision (WACV), 2016 IEEE Winter Conference on},
  pages={1--8},
  year={2016},
  organization={IEEE}
}
@inproceedings{kiani2013multi,
  title={Multi-channel correlation filters},
  author={Kiani Galoogahi, Hamed and Sim, Terence and Lucey, Simon},
  booktitle={Proceedings of the IEEE international conference on computer vision},
  pages={3072--3079},
  year={2013}
}

correlation-filter-cascade-face-landmark-localization's People

Contributors

hamedkiani avatar

Stargazers

 avatar

Watchers

 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.