Skip to content

Shows curated content from YouTube based on detected emotions while watching

Notifications You must be signed in to change notification settings

jddunn/stopwatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StopWatch

StopWatch is a web app that automatically goes through curated content from YouTube based off of the emotional states detected in the viewer by the webcam, utilizing the Affectiva SDK. Made with Bootstrap and jQuery. Comments included in scripts.

If positive feelings are detected in the viewer, then the current video in the playlist continues playing. If it reaches the end, then the most similar video found on YouTube to the video is played next. If negative emotions are detected, then the current video is skipped, and the next video in the randomized playlist of 50 videos (generated from keywords specified by the user) is played.

Replace the blank API Key (API_KEY) with your client API key from Google Developer's Console (with YouTube Data API enabled), and run a HTTP server (python3 -m http.server in cmd in Windows), since the YouTube API needs a server.

Flashy website intro alt tag

Trying to find 'Hey Now' Performances by London Grammar.. alt tag

It played Matt & Kim.. Wasn't feeling it, the program picked up negativity, and skipped this video.. Alt text

Much more about this one; 10/10 joy. Alt text

About

Shows curated content from YouTube based on detected emotions while watching

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published