Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

schan27/picify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🗻 Picify

Picify is a Flask web application that converts your photos into Spotify playlists that can be saved for later listening, providing a uniquely personal way to explore new music. Try it here.

Workflow

The main workflow for the app is as follows:

  1. The user uploads a photo to the Picify Flask server.
  2. The image is passed onto the Google Cloud Vision API, where labels and entities are predicted/extracted. This information then gets passed back to the Flask server.
  3. The labels and entities are filtered by a dynamic confidence threshold which is iteratively lowered until a large enough set of descriptors for the image can be formed.
  4. Each of the descriptors in the above set are then expanded into associated "moods" using the Datamuse API.
  5. All of the descriptors and associated moods are filtered against a whitelist of "musically-relevant" terms compiled from sources such as AllMusic and Every Noise at Once, excepting descriptors with extremely high confidence (for example, for a picture of Skrillex this might be "Skrillex").
  6. Finally, the processed words are matched against existing Spotify playlists, which are sampled to form the final playlist.

Contributors

Screenshots

Upload Page

Playlist-1

Playlist-2

Share

About

NwHacks 2019

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •