👕👖 A Python-based application for recommending matching pants based on shirt color using computer vision and KMeans clustering.
This project is a fashion recommender system that helps users find the best matching pants for their shirts. By analyzing the dominant color of a shirt image, the system uses KMeans clustering to suggest the top three pants from a provided collection that complements the shirt's color.
- Upload or capture a shirt image.
- Specify a folder containing pant images.
- The system recommends the top three matching pants based on color similarity.
- Utilizes OpenCV for image processing and Scikit-learn for clustering.
- The user uploads a shirt image.
- The user provides the folder path containing images of pants.
- The system calculates the dominant color of the shirt.
- It compares the shirt color with the colors of the pants in the folder.
- It recommends the best-matching pants based on the color distance.
To run this project locally, follow these steps:
- Clone the repository:
[git clone https://github.com/sheak9363/fashion-recommender-system.git](https://github.com/sheak9363/fashion-recommender-system.git)