Small toy application to extract the dominant color of a video, frame by frame. The endgoal is to pair this information with the Ado LightStick. The current application is a bit clanky but as a MVP, it does the job.
- Install requirements
- Uncomment 'download_video(url=testvid)' on FrameColorExtractor (1st time)
- Edit the 'cap = cv2.VideoCapture("videos/AdoMAGIC.mp4")' with the video you want to analyse
- run the script (you can also use a shell redirection to get the list of dominant color frame by frame)
Developped on python 3.13 (Windows 10)