Skip to content

Hair detection, segmentation, and hairstyle classification in the wild

Notifications You must be signed in to change notification settings

kelu124/HairAnalysis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hair detection, segmentation, and hairstyle classification in the wild

Created by Muhammad Umar Riaz - University of Brescia (2016)

Introduction

This is the code for the paper:

Hair detection, segmentation, and hairstyle classification in the wild
U.R. Muhammad, M. Svanera, R. Leonardi, and S. Benini
Image and Vision Computing, 2018.

Project page

Cite

If you find this code useful in your research, please, consider citing our paper:

@article{umar2018hair,
  title={Hair detection, segmentation, and hairstyle classification in the wild},
  author={Muhammad, Umar Riaz and Svanera, Michele and Leonardi, Riccardo and Benini, Sergio},
  journal={Image and Vision Computing},
  year={2018},
  publisher={Elsevier}
}

Related work

This is the continuation of our previous work (project page, paper):

@inproceedings{svanera2016figaro,
  title={Figaro, hair detection and segmentation in the wild},
  author={Svanera, Michele and Muhammad, Umar Riaz and Leonardi, Riccardo and Benini, Sergio},
  booktitle={International Conference on Image Processing (ICIP)},
  year={2016},
  organization={IEEE}
}

Dataset

Figaro-1k: It contains 1050 unconstrained view images with persons, subdivided into seven different hairstyles classes (straight, wavy, curly, kinky, braids, dreadlocks, short), where each image is provided with the related manually segmented hair mask.

Demo

You can run the demo on any jpg format image (that must be placed in folder Data) by running main.py file.
N.B. you need to download model_caffenet.caffemodel and place it in Tools/CaffeNet/.

About

Hair detection, segmentation, and hairstyle classification in the wild

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%