Skip to content

CTimmerman/AdaptiveBrightness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adaptive Brightness

Changes display brightness to match webcam brightness.

Installation

  • python -m venv .venv
  • Bash: source .venv/bin/activate
  • Windows: .venv\Scripts\activate
  • pip install -r requirements.txt

Usage

python adaptive_brightness.py [camera id] [display id] [debug]

Camera id default is 0 to (not including) 10. Display default is 0. Adding debug shows info and if supported, frames, the first of which is saved:

  • Bash: xdg-open debug.jpg
  • Windows: start debug.jpg

Ctrl+Break or Ctrl+C in the shell to exit.

To exit the virtual environment, use: deactivate

About

Changes display brightness to match webcam brightness.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages