Coder Social home page Coder Social logo

hairanalysis's Introduction

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.
The 7 classes are distributed in this order:

  • straight: frame00001-00150
  • wavy: frame00151-00300
  • curly: frame00301-00450
  • kinky: frame00451-00600
  • braids: frame00601-00750
  • dreadlocks: frame00751-00900
  • short-men: frame00091-01050

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

hairanalysis's People

Contributors

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