sky-cam.conf: comment out grey filter — must be explicitly enabled

The SEASONS_GREY_STDDEV_MIN and SEASONS_GREY_DARK_FLOOR settings are
now commented out so the filter is fully inert by default and requires
a deliberate edit to activate.

https://claude.ai/code/session_01C4jbd3waXG3eKZYbGUjLUQ
This commit is contained in:
Claude
2026-04-22 16:22:25 +00:00
parent ec8eb7aebf
commit 9d34240ac0
+9 -13
View File
@@ -259,19 +259,15 @@ AUDIO_BITRATE=192k # montage-mvt.sh — music track on movement
# Corrupt or empty frames (e.g. first frame after a camera reconnect) are always
# skipped automatically via ffprobe. No config needed.
#
# SEASONS_GREY_STDDEV_MIN: also skip uniform-grey frames caused by a bad RTSP
# signal (valid JPEGs, but near-solid grey — no real image content).
# A frame is only skipped when BOTH conditions hold:
# 1. pixel standard deviation (0255) is below SEASONS_GREY_STDDEV_MIN
# 2. mean brightness (0255) is above SEASONS_GREY_DARK_FLOOR
# This keeps genuine night frames (dark + low stddev) while dropping
# bad-signal grey frames (mid-bright + low stddev).
#
# SEASONS_GREY_STDDEV_MIN=0 disables the filter entirely (default).
# Try 510 if your camera produces solid-grey frames on reconnect.
# Requires ImageMagick (convert) to be installed.
SEASONS_GREY_STDDEV_MIN=0
SEASONS_GREY_DARK_FLOOR=30 # frames with mean brightness below this are always kept
# SEASONS_GREY_STDDEV_MIN / SEASONS_GREY_DARK_FLOOR — optional bad-signal filter.
# Uncomment both lines to enable. A frame is dropped only when BOTH are true:
# 1. pixel standard deviation (0255) < SEASONS_GREY_STDDEV_MIN (frame is uniform)
# 2. mean brightness (0255) > SEASONS_GREY_DARK_FLOOR (frame is not dark)
# This keeps genuine night frames (dark + low variation) while dropping
# solid-grey bad-signal frames (mid-bright + no variation).
# Requires ImageMagick (convert). Start with these values and tune from there:
#SEASONS_GREY_STDDEV_MIN=5 # skip if stdev < 5 (very uniform)
#SEASONS_GREY_DARK_FLOOR=30 # …but only if mean brightness > 30 (not a night frame)
# ── Montage attribution overlay ───────────────────────────────────────────────
# A translucent bar across the top of each movement montage, naming the