Rain Detector for Windshield View | Generated by AI

Home 2026.06

Done. Here’s what was added:

New file: ww/weather/rain.py

Usage:

ww rain              # 3-second video, analyze rain
ww rain --seconds 5  # longer capture
ww rain --keep       # keep the video file
ww rain --debug      # show model/request info
ww weather rain      # also works

Files modified:

How it works in the car: Point the laptop webcam at the windshield. Run ww rain. It captures a short video, extracts frames, and tells you the rain intensity (0=clear to 5=torrential) with a practical advice line like “close window” or “safe to open window slightly”.


Back Donate