Skip to content

Assem-ElQersh/Color-Identification-Lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Color Identification in Images using LAB Color Space

This project identifies colors in an image by using OpenCV and matches them with a predefined list of colors stored in a CSV file. The color matching is done using the LAB (CIELAB) color space for better perceptual accuracy.

Features

  • Uses LAB color space for improved color perception.
  • Provides interactive color detection by clicking on any area of an image.
  • Outputs color names along with the RGB values.

Installation

  1. Clone the repository:
    git clone https://github.com/Assem-ElQersh/Color-Identification-Lab.git
  2. Navigate to the project directory:
    cd Color-Identification-Lab
  3. Install the required libraries:
    pip install -r requirements.txt

Usage

  1. Place your image file in the project directory.
  2. Run the Jupyter notebook Model.ipynb.
  3. Click on any part of the image to detect the color.

Example

Example

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

About

A Python-based image color identification tool using OpenCV and the LAB (CIELAB) color space for enhanced perceptual accuracy. This project allows users to click on any part of an image to detect the closest color match from a predefined color dataset.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors