Wardrobe Analysis in OpenCV: Suggestions please!

asked 2016-01-06 09:52:23 -0500

_akshaychandra gravatar image

In collaboration with my college(Keshav Memorial Institute of Technology, Hyderabad, India), I have started a small project(in C++) that analyses wardrobe of each and every student in the campus. Well, the idea is pretty simple, a camera is put at a gateway where all the students are made to stand in front of it for a few seconds, before they enter their classes for about 30 days. I am given the faces of all the students as a reference data set. The first functionality I thought of finishing at the earliest is counting the number of outfits a particular student has. And then a lot can be done with the obtained data, as in, determining a student's favorite color and types of outfits one prefers to wear the most etc. So far, I have implemented recognition of faces(LBPH Recognizer) only and right now I am planning to create a cascade classifier for an outfit. Although I was suggested to just come up with a static algorithm of detecting an outfit in an input image, given the present situation, as the camera position is static and the distance of the person from the camera is almost constant. So please feel free to suggest me any more ideas over this. Thank you in advance!

edit retag flag offensive close merge delete

Comments

1
  • Face detection
  • HSV conversion
  • Small rectangle region below the detected face is calculated
  • Calculate dominant color type in the region --> getPixelColorType function (color types: ("Black", "White","Grey","Red","Orange","Yellow","Green","Aqua","Blue","Purple","Pink"))
  • In order to calculate different types of clothes, you can compute LBP features over this small rectangle (or more regions) because LBP features can discriminate textures quite well.

References:

shirtDetection

albertofernandez gravatar imagealbertofernandez ( 2016-01-06 12:14:53 -0500 )edit

@albertofernandez, thank you so much buddy. You've been very helpful. :)

_akshaychandra gravatar image_akshaychandra ( 2016-01-08 22:04:38 -0500 )edit