Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color Detection Model #67

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Color Detection Model #67

wants to merge 4 commits into from

Conversation

AlapanDas
Copy link

@AlapanDas AlapanDas commented May 27, 2023

##Color Detection Model

  • Info about the related issue
    This feature provides the closest color in the database found in color.csv, and displays the color in a rectangular box
  • GSSOC Participant
  • Contributor

Closes: #30

Describe the changes you've made

This detects the individual pixel color to the closest known color in the csv file.
This finds the (R,G,B) tuple for the current pixel and subtracts it from the minimum value so that minimization is obtained.

Type of change

What sort of change have you made:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Demo::
(0,0,255)--> will give Blue
(135, 206, 235) --> will give Sky Blue

Checklist:

  • My code follows the guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly wherever it was hard to understand.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • Any dependent changes have been merged and published in downstream modules.

Screenshots

image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[PROJECT PROPOSAL]: Color Detection Model
1 participant