Emote

About Emote

Emote is a therapeutic drawing tool intended to help users express their emotions through art. Usually, people let their drawings represent their feelings, but where should they start? That's where Emote comes in. This app takes an inputted emotion and creates an empty canvas with three colors corresponding to the emotion. The user can use the colors to draw on the canvas, switch between colors, erase drawing, and change the size of the drawing tool with a slider. With the three colors, the user can draw freely and express themselves on the canvas!







Implementation

We implemented this project using the python module BeautifulSoup and pandas to find image urls for a given set of emotions. For each url, we used ColorThief, a python module, to find the dominant color in each given image. This section of the code resulted in a dictionary of emotions with corresponding colors. Our app took that dictionary and created a drawing app using cmu 112 graphics, that selects three colors for the input emotion and allows the user to draw on the canvas, switching between colors and changing the size of the drawing tool as they like.


Languages and modules used: Python, pandas, NumPy, requests, bs4, csv, colorthief, io

Source Code Back