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 extraction #3

Open
rland93 opened this issue Oct 30, 2021 · 2 comments
Open

Color extraction #3

rland93 opened this issue Oct 30, 2021 · 2 comments
Labels
odcl Object Detection, Classification, and Localization

Comments

@rland93
Copy link
Member

rland93 commented Oct 30, 2021

Our suggestion is to do k-means to find color blobs

Largest color blob is the shape color
Next largest is the letter color
Next largest is the background color

Then find those colors and turn them into perceptual color names "red" "green" "blue" etc.

For RGB -> Perceptual color names, search around for existing libraries.

@rland93
Copy link
Member Author

rland93 commented Oct 30, 2021

Scikit-learn has an excellent plug and play K-means clustering algorithm.

@rland93
Copy link
Member Author

rland93 commented Nov 17, 2021

First Prototype in fb8cc0c

I think we can improve these results a bit:

https://arxiv.org/abs/1101.0395 is a good place to start.

Leaving open for now to store color stuff in this issue.

@rland93 rland93 added odcl Object Detection, Classification, and Localization and removed opencv labels Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
odcl Object Detection, Classification, and Localization
Projects
None yet
Development

No branches or pull requests

1 participant