# ASCII Photobooth webcam configuration # Sourced by webcam2ascii.sh/exec-cycle.sh (bash) and photobooth.py (python). # Capture settings RESOLUTION=640x480 JPEG_QUALITY=85 # Starting brightness/exposure (0-100, or "auto" for the camera default) # The live preview's +/- and ./, controls adjust away from these at runtime DEFAULT_BRIGHTNESS=auto DEFAULT_EXPOSURE=auto # Step size (percentage points) for each live-preview +/- adjustment STEP=5 # v4l2 control names as reported by: fswebcam --list-controls # Used by webcam2ascii.sh (bash). These vary per camera/driver - edit to # match your hardware. BRIGHTNESS_CONTROL="Brightness" EXPOSURE_CONTROL="Exposure (Absolute)" # --- photobooth.py (python) specific settings --- # Camera device node used for OpenCV capture DEVICE=/dev/video0 # v4l2-ctl control IDs (snake_case), as reported by: v4l2-ctl --list-ctrls # Different naming convention than BRIGHTNESS_CONTROL/EXPOSURE_CONTROL above - # these vary per camera/driver too. BRIGHTNESS_CTRL_ID=brightness EXPOSURE_CTRL_ID=exposure_absolute