starbucksdolcelatte

edited

......@@ -2,7 +2,7 @@
This is Personal color diagnosis system.
[![Personal Color Diagnosis system](http://img.youtube.com/vi/K7esg_dXYGo/0.jpg)](http://www.youtube.com/watch?v=K7esg_dXYGo "Personal Color Diagnosis system")
<br>Click this image to see the Demo video!
<br>**Click this image to see the Demo video!**
## 1. Face detection
`detect_face.py` with `shape_predictor_68_face_landmarks.dat` has DetectFace class, and it provides face detection function, the exact face parts, and the coordinates of them. We selected cheeks, eyes, eyebrows(instead of hair) for personal color analysis.
......@@ -11,7 +11,8 @@ This is Personal color diagnosis system.
`dominant_colors.py` has DominantColors class, and it provides the dominant colors by k-means algorithm, with RGB values.
## 3. Personal Color Diagnosis
The RGB values from step 2 is converted to Lab and HSV color space. The b value from Lab is the factor *determining warm/cool* and the S value from HSV is the factor *determining spring/fall or summer/winter*. Our team get the criteria values which classifies the personal color results by analyzing color values dataset from some images.
The RGB values from step 2 is converted to Lab and HSV color space. The b value from Lab is the factor **determining warm/cool** and the S value from HSV is the factor **determining spring/fall or summer/winter**. Our team get the criteria values which classifies the personal color results by analyzing color values dataset from some images.
<br>`tone_analysis.py` and `temp5.py` is the source code for personal color classifying and the usage.
## 4. Virtual Makeup Simulator
It classify several lipstics as 4 personal colors by their colors and put their name, color code and class into the Database. After detecting the lip outlines, connect the lips and put a chosen color from the DB.
......