/color_extractor

A color extractor Python/Flask app that extract the dominants colors from an uploaded image.

Primary LanguageHTML

Dominant Colors Extractor

This is a web application that allows users to upload images and extract the dominant colors from them using K-Means clustering algorithm. The extracted colors are then displayed to the user along with their RGB values.

Features

  • Upload images in .png, .jpg, or .jpeg formats.
  • Extract the dominant colors from the uploaded images.
  • Choose the number of dominant colors to extract.
  • Copy RGB values to clipboard by clicking on them.

Usage

Run python extractor.py

Access the application in your web browser at http://localhost:5000.

Technologies Used

Python, Flask, OpenCV, NumPy, HTML, CSS, JavaScript