Skip to content

image classification을 이용한 퍼스널 컬러 예측 모델

Notifications You must be signed in to change notification settings

youngeun-dev/personal-color-prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

personal color prediction

image classification을 이용한 퍼스널 컬러 예측 모델


🔑 dataset 구축 과정

image image
  1. Image Collection: 'Google Images Download' 라이브러리를 이용해 약 140명의 유명인 사진은 100장씩 크롤링한다.
  2. face crop: 'haarcascade_frontalface_alt2.xml face detect' 검출기를 이용해 수집한 이미지에서 얼굴을 crop 한다.
  3. cheek detect: 크롭된 이미지에서 'shape_predictor_68_face_landmarks.dat' 검출기를 이용하여 볼을 추출한다.
  4. skin color average: 볼 추출 부분의 평균색을 이미지로 나타내어 1차 데이터셋을 구성한다.
  5. personal color classification: 각 퍼스널 컬러에 해당하는 피부색을 hsv 값으로 정량화한 기준을 토대로 1차 데이터셋을 라벨링한다.

🔐 dataset

image

👑 model

image

🪄 예측 결과

image image

왼쪽은 cnn 모델이 예측한 퍼스널 컬러이고, 오른쪽은 볼 영역의 피부색을 추출해 만든 데이터를 hsv값을 통해 분류한 퍼스널 컬러 입니다.



image

test data로 예측한 결과입니다.

About

image classification을 이용한 퍼스널 컬러 예측 모델

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published