Giter Site home page Giter Site logo

barbara99 / color-detection-application Goto Github PK

View Code? Open in Web Editor NEW

This project forked from williano/color-detection-application

0.0 0.0 0.0 4 MB

An application through which you can automatically get the name of a color by double-clicking on them.

License: MIT License

Python 100.00%

color-detection-application's Introduction

Color Detection Application

An application through which you can automatically get the name of a color by double-clicking on them.

Table of contents

General info

Color detection is the process of identifying the name of any color. Color detection is important in identifying objects. Various image editing and drawing apps also use it as a tool.

In this project, I built an application which accepts an image path and automatically get the name of the colors in the image by double-clicking on them. The application has a data file that contains the color name and its values, it then calculate the distance from each color and find the shortest one.

Screenshots

Running program

cmd

Sample Output 1

output1

Sample Output 2

output2

Sample Output 3

output3

Sample Output 4

output4

Features

  • Detect colors by double-clicking on the color in an image
  • Get color name
  • Get RGB values of colors

Technologies

Setup

To run this app, you will need to follow these 4 steps:

1. Requirements

  • a Laptop

  • Text Editor or IDE (eg. vscode, PyCharm)

  • Git installed on your Laptop.

  • Command line (CMD)

2. Install Python and Pipenv

3. Local Setup and Running on Windows, Linux and Mac OS


# Clone this repository into the directory of your choice
$ git clone https://github.com/Williano/Color-Detection-Application.git

# Move into project folder
$ cd Color-Detection-Application

# Install from Pipfile
$ pipenv install

# Activate the Pipenv shell
$ pipenv shell

# Create database tables
(Color-Detection-Application-XXXX) $ python color_detector.py -i <add your image path here>

Example: python src/color_detector.py -i images/pietro-de-grandi.jpg


4. Testing application

  • Double-click on any part of the image to get the color name and RGB value

Status

Project is: done

Inspiration

This project was for my multimedia class for my MSc. Computer Science degree.

Contact

Created by Williano - feel free to contact me!

License

You can check out the full license here

This project is licensed under the terms of the MIT license.

Contributing

  1. Fork it (https://github.com/Williano/Color-Detection-Application.git)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

color-detection-application's People

Contributors

williano avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.