Manual Vision API controls (close door, send items, complete detection) only run when the server is started in simulator mode.
Restart with:
python web_server.py --simulator --enable-api
Use --enable-api so buttons can reach your Vision API (set VISION_API_URL and device credentials in the environment).
Focus Calibration
—Laplacian variance
Peak: —
< 50 soft50 – 150 ok≥ 150 sharp
Turn the lens until the number peaks, then back off slightly and find it again.
Absolute values depend on scene detail — what matters is the change as you adjust the ring.
The 3×3 overlay colours each cell by its own sharpness (helpful for spotting a tilted lens).
The dashed lines on the chart mark the 50 / 150 thresholds.