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”.


Generated by AI. Curating and sharing still takes effort. If you find it useful, feel free to donate. WeChat: @lzwjavaWeChat QR · X: @lzwjava · Say hi 👋

Back Donate