Find IT!-The Cheapest Alternative
Project Overview
Following up with the fashion trend is still the major theme that runs the retail fashion business. Also, As a person who enjoys fashion, I know that inspiration can come from various sources when it comes to obtaining a great outfit. Perhaps you got inspired by someone you follow on the social media “a fashionista “ or by a celebrity. Concerning most consumers, shopping for stylish and affordable outfits is a never-ending quest. Usually, the Trends styles, designed by the high-end brands designer, they are too expensive for regular consumers. However, it is hard and consuming for shoppers to find a cheap alternative to a target style as long as shoppers should determine the outfit that suits what they need over several websites and then obtain the cheapest from the matched outfits. My project aims to recommend the more affordable alternatives to a designer outfit by using convolutional neural networks and other techniques.
1.Data acquisition:

I got the dataset from mynrta.com is an Indian website , contains 44,447 images with their JSON files , from all departments , and 51 Categories.
2.Date preprocessing
- Extract features for each image from the JSON file.
- Convert Indian Rupee to Dollars $.
- Limit to just 250$ and under.
- Include clothing departments images with 16 categories.
- Image data augmentation is used for categories balance.
- Resize and normalize all the images to the same size.
3.Model:
The project is comprised of two main parts:
-
Classify the category of the clothing in an input image
-
Retrieve a similar and cheaper outfit.
3.1 CNN :
In this step, I used a convolutional neural network (CNN) to predict the clothing category. The model was trained with the training dataset for three convolutions layers, two dense layers, and a dropout of 0.5 .

The Accuracy: 89%

3.2 Recommendations:
After the classification, I extract the output of the second fully connected layer as features. Converted images into a feature matrix to calculate the cosine similarity, then recommends the top 3 images with the largest cosine. And calculate the Euclidian similarity, then recommends the top 3 images with the smallest Euclidian similarities.
3.2.1 Demo


I picked a Saree from Kalki Fashion website that cost 290 $
What I remarked when using the cosine and euclidian similarities for the same input image that the cosine recommends a better match with the cut/style, whether the euclidian recommends better match colors.
