A webpage that runs a python script/program that uses Google's OCR image to text recognition on Shazam's song info popups and automatically download it from Youtube, which can be added automatically to your local computer for easier syncing with your phone. Designed to make life easy.
Many people who do not have Spotify premium resort to not listening at music or downloading music files from the internet, moving it to the iTunes folder, and syncing iTunes to their phones. Many people also use Shazam, whether integrated with Snapchat or the Shazam app itself, whenever they hear a song they like. This workflow shortcut, dubbed "ShazamShortcut," aims to combine the two common actions together and streamline them together into a simple automated process.
Our basic automated workflow available as a button on our webpage is: 1. Get user's Shazam songs through screenshots 2. Use Google OCR (Image to text conversion) API to extract song name and artist from screenshots 3. Search youtube for a lyric video of that song and download it to the server computer 4. Add thumbnails for extra flair and flex 5. Combine all songs and compress into a folder to download it to the client's computer
A concise description of files: - main.py = does all the action, from opening the shazam webpage and taking screenshorts - ocr.py = converts shazam song screenshot image to text - music.py = downloads the music and thumbnails automatically given a song and artist name from Youtube - app.py = server file using Flask - ui.html = web page UI - coin.wav = sound effect every time a song is done downloading - Pipfile + Pipfile.lock = Pipenv files that allow the program to work across other computers (similar to virtualenv, conda env, and pyenv)