Categories
News

ScratchX: Artificial intelligence

Our “guess the image” jukebox today is using several ScratchX plugins. It uses Clarifai to classify an image and produce some keywords, and then Spotify plays ten seconds of a track matching the keywords. Here are the addresses of the ScratchX plugins:

https://papaeight.github.io/clarifai-scratch/clarifai.js

https://savaka2.github.io/scratch-extensions-directory/extensions/WebExt.js

https://sayamindu.github.io/scratch-extensions/text-to-speech/text_to_speech_extension.js

https://ericrosenbaum.github.io/spotify-extension/extension.js

Here’s the Ninja version with some of the code already set up for you: Image_Jukebox_Ninja_Version.sbx

And finally the completed version: Image_Jukebox_Final_Version.sbx