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

[Dataset] Crafting the Colors of Emotions 🌈🎨 #60

Open
ravi-prakash1907 opened this issue Oct 19, 2023 · 1 comment
Open

[Dataset] Crafting the Colors of Emotions 🌈🎨 #60

ravi-prakash1907 opened this issue Oct 19, 2023 · 1 comment
Assignees
Labels
good first issue Good for newcomers python

Comments

@ravi-prakash1907
Copy link
Contributor

ravi-prakash1907 commented Oct 19, 2023

Description:

Our mission is clear: we need to build a comprehensive dataset that harmonizes dominant colors with various emotions and feelings. To achieve this, we've outlined a set of reference steps:

  1. Image Quest: Let's embark on a quest to fetch and collect images or thumbnails tagged with specific sentiments and emotions.
  2. Python Magic: We'll utilize the power of Python (our preferred choice) to load these images and extract the most dominant colors from each artwork.
  3. Color Script: We have a nifty tool in our arsenal. You can make use of the ColorExtraction.py script available within dyPixa's resources to list the vibrant colors.
  4. JSON Palette: Store the beautiful color sets for a unique image or emotion in JSON format. Embrace the creativity, as the number of shades can vary from one image to another.

The colors of each image could be stored keeping the MD5 hash of the image as its key. The JSON data can the following structure:

{
    "emotions": {
            "ImageHash": {
                        "HEX": [
                                "shade1",
                                "shade2",
                                "....",
                                "shadeN"
                                ],
                        "RGB": {
                            "shade1": ["R", "G", "B"],
                            "shade2": ["R", "G", "B"],
                            "...": ["R", "G", "B"],
                            "shadeN": ["R", "G", "B"]
                        }
            }
    }
}

This dataset holds immense potential. We'll harness it to train machine learning models, enabling us to recommend the perfect palette of colors for any given sentiment. 🎨🚀

Let's paint the world with emotions! Your contributions are a stroke of genius. 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers python
Projects
None yet
Development

No branches or pull requests

3 participants