Skip to content

A simple Matlab implementation of paper: A novel skin color model in YCbCr color space and its application to human face detection

Notifications You must be signed in to change notification settings

kamiry/Skin-Color-Model

Repository files navigation

Skin-Color-Model

A simple Matlab implementation of paper: S.L. Phung, A. Bouzerdoum , D. Chai, "A novel skin color model in YCbCr color space and its application to human face detection", ICIP 2002.

Required:

  1. Plot Gaussian ellipsoid: http://www.mathworks.com/matlabcentral/fileexchange/16543-plot-gaussian-ellipsoid

2. Dataset:
lfw images: http://vis-www.cs.umass.edu/lfw/lfw-funneled.tgz
labeled parts: http://vis-www.cs.umass.edu/lfw/part_labels/parts_lfw_funneled_gt_images.tgz

Execution

Put the plot_gaussian_ellipsoid.m and the decompressed images to the same folder as the downloaded files.

Training

modify the file path if necessary, this example only takes one image for training modify the number of iteration if necessary.

Run skin_train.m

Output the skin distribution in YCbCr
Skin distribution in YCbCr
The 3-D Gaussian parameters (mean and covariance matrix) are stored in skin.mat

Testing

Run skin_test.m

About

A simple Matlab implementation of paper: A novel skin color model in YCbCr color space and its application to human face detection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages