thedatatribune / dyPixa

Turning words into lively shades!
https://thedatatribune.github.io/dyPixa/
MIT License
11 stars 14 forks source link
aiml color-theme database emotion-recognition hacktoberfest hacktoberfest-accepted hacktoberfest2023 image-processing llms machine-learning natural-language-processing nlp python visualization

dyPixa

Dynamically generating abstract images using Computer Vision, Machine Learning, and Sentiment Analysis

All Contributors Discord dyPixa

![Issues](https://img.shields.io/github/issues/thedatatribune/dyPixa?style=for-the-badge) ![Pull Requests](https://img.shields.io/github/issues-pr/thedatatribune/dyPixa?style=for-the-badge) ![Forks](https://img.shields.io/github/forks/thedatatribune/dyPixa?style=for-the-badge) ![Stars](https://img.shields.io/github/stars/thedatatribune/dyPixa?style=for-the-badge) ![dyPixa Header](assets/img/banner.png) **dyPixa,** aka **Dynamic Pixels**, is an open-source project that aims to develop a tool combining the power of **computer vision,** **machine learning,** and **natural language processing** to create _abstract images based on text input_ and _sentiment analysis._ With _dyPixa,_ you can generate stunning visuals by harnessing the emotions expressed in the text. ### Table of Contents - [Introduction](#introduction) - [Features](#features) - [Getting Started](#getting-started) - [Usage](#usage) - [Contributing](#contributing) - [License](#license) ## Introduction **dyPixa** is a project that enables you to analyze _Multilingual_ text, perform _sentiment analysis,_ and use the emotions expressed in the text to generate abstract images with carefully selected color combinations. It would leverage state-of-the-art _machine learning_ models and _image processing_ techniques to achieve this. Additionally, _dyPixa_ allows you to overlay the input text onto the generated abstract image, creating visually striking compositions. ## Features > * **Multilingual Text and Sentiment Analysis:** dyPixa can analyze Hindi text and determine its sentiment, whether it's positive, negative, or neutral. > > * **Color Combination Model:** Train a machine learning model using a dataset of images paired with text descriptions to learn the most suitable color combinations for different sentiments. > > * **Abstract Image Generation:** Generate abstract images based on the input text's sentiment, utilizing the color combinations learned by the model. > > * **Text Overlay:** Overlay the input text onto the generated abstract image, allowing you to create visually appealing compositions that convey the text's emotion. ## Getting Started To get started with _dyPixa,_ follow these steps: 1. [Fork](https://github.com/thedatatribune/dyPixa/fork) this repository and clone using following command: > > ```sh > $ git clone https://github.com//dyPixa.git > $ cd dyPixa > ``` 2. Install Dependencies: > - Install the required Python libraries by running _(the `requirements.txt` is updated with growth of the project)_: > ```sh > $ pip install -r requirements.txt > ``` > - Download Pre-trained Models _(applicable in future as the project grows):_ > Depending on the project's requirements, you might need to download pre-trained models for sentiment analysis or color combination generation. Check the project documentation for instructions on acquiring these models. 3. Run/Enhance the Project: > - Follow the project-specific instructions in the documentation _(to be updated)_ to use _dyPixa_ for text analysis, color combination generation, abstract image creation, and text overlay. Once you are inthe working directory, i.e., `dyPixa`; you can also start enhancing the code. Being open-source, maintainers would love to merge your contributions. ## Usage Being in an early phase of the development, the usage guide for _dyPixa_ is yet to be populated. However, with this tool, one would be able to do: 1. Text Analysis and Sentiment Analysis
  1. Color Combination Generation

  2. Abstract Image Generation

  3. Text Overlay

Contributing

Contributions to dyPixa are welcome! Whether you want to improve existing features, add new functionality, or report issues, please follow the contribution guidelines outlined in the project's CONTRIBUTING.md file.

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute dyPixa according to the terms of the license.


Note for contributors: This README.md is supposed to be updated as per any new feature/changes introduced. Provide clear and comprehensive instructions to help users get be familiar.