Use yeelight smart bulb as backlight for your screen
- Python3
Currently using scrot
to take screen shot.
python3 -m venv venv
source vevn/bin/activate
pip install -r requirements.txt
python3 main.py # stop with Ctrl-C
Linux demo from yeelight developer site is used to control the bulb.
Color selection is made by performing K-means clustering algorithm with number of clusters = 3, on scaled down screen shots, then selecting the largest cluster.