Runs detect_moon() twice on the same frame (standard params, then crescent
params) and saves annotated debug images for each pass so you can see
exactly what each threshold finds. Optionally renders the full composite
if detection passes and a reference moon image is supplied.
Usage:
python3 test_crescent_detect.py FRAME.jpg
python3 test_crescent_detect.py FRAME.jpg --ref MOON.jpg --when 2026-05-08T05:30Z --phase waning-crescent
https://claude.ai/code/session_01HuJ83KvMvshiY6HxJbtMsc