My initial idea was to have software that can classify different emotions based on facial expressions. Depending on the detected emotion, a song would play. There were five primary emotions; happy, sad, angry, shocked, confused. On the Teachable Machine website, the model gave accurate results. However, when I ran my code in p5.js, the results were inaccurate. Thus, I decided to change my idea.
While I was cleaning my room, I sorted out my vinyl collection and thought to myself how inconvenient it is to get the vinyl out, put it on the record player and make sure that it is working properly to hear music. I thought to myself, what if there was a way that I could somehow scan the vinyl image, and a song from that album would instantly start to play. That is when I decided to train a model to identify which album the camera can see. Then, it would start playing a song from the album. At first, I only had one song play for each vinyl. I then modified my code so that it would play one of three songs from that vinyl. However, I had to download the songs in mp3, ensure they were not large (< 5.2 MB), and then upload them to p5.js.
In the future, maybe I can try to connect the code to a music streaming service to play the entire album and perhaps even expand the datasets. Overall, this project was really fun, and I enjoyed working. One day, I hope I can get to develop this idea even further.