Skip to content

Add Set Feeder Reference button to dashboard - #13

Merged
LeeOtts merged 2 commits into
mainfrom
claude/heatmap-image-analytics-IFgq8
May 17, 2026
Merged

LeeOtts merged 2 commits into
mainfrom
claude/heatmap-image-analytics-IFgq8

Conversation

@LeeOtts

@LeeOtts LeeOtts commented May 17, 2026

Copy link
Copy Markdown
Owner

Adds a "Set Feeder Reference" button next to the live feed controls. Clicking it captures the current full-res camera frame and saves it to both locations the heatmap uses as its background photo:

  • web/static/feeder.jpg — local dashboard heatmap
  • website/img/feeder.jpg — public stats page heatmap

Just point the camera at the feeder and hit the button whenever you want to update the reference.

https://claude.ai/code/session_01PThGWo2FsMsk3v3Yb61ffx


Generated by Claude Code

claude added 2 commits May 12, 2026 23:17
…shboard

- Update renderHeatmapGrid() to accept an optional feeder photo URL;
  the image is drawn as canvas background and heatmap cells are
  semi-transparent so the feeder photo shows through beneath the heat colors.
  Empty cells (count=0) are fully transparent so the feeder is visible
  in quiet zones. Falls back to dark background if photo is missing.
- Public stats page now loads img/feeder.jpg as the heatmap background;
  place a photo of your feeder at website/img/feeder.jpg to enable it.
- Add Bird Analytics section to the local Flask dashboard (port 8080)
  with summary cards (visits today/week, peak hour, streak), the
  position heatmap using /static/feeder.jpg as background, a 24-hour
  activity bar chart, and a behavior breakdown with percentage bars.
  Data is fetched from /api/analytics on load and every 2 minutes.

https://claude.ai/code/session_01PThGWo2FsMsk3v3Yb61ffx
Adds a POST /api/feeder-image/capture endpoint that grabs the current
full-res camera frame and writes it to both web/static/feeder.jpg
(local dashboard heatmap) and website/img/feeder.jpg (public stats
page heatmap). A "Set Feeder Reference" button appears in the live
feed controls alongside the existing mark-yes/no buttons.

https://claude.ai/code/session_01PThGWo2FsMsk3v3Yb61ffx
@LeeOtts
LeeOtts merged commit 6f1c4d2 into main May 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants