Used Software
All software here is free and open source. In order of the pipeline on How it works.
Frigate NVR
Open-source NVR with real-time object detection. Detection runs locally, no cloud service involved. Records, keeps snapshots and sends events via MQTT.
https://github.com/blakeblackshear/frigate
go2rtc
Streaming server built into Frigate. Delivers the live stream to the player on this site (MSE, HLS as fallback).
https://github.com/AlexxIT/go2rtc
Google Coral
Edge TPU for fast, local AI inference. Frigate runs its object detection on it.
https://coral.ai/products/m2-accelerator-dual-edgetpu
NVIDIA CUDA
GPU decoding of the 4K video stream, so the CPU stays free.
https://developer.nvidia.com/cuda-zone
Eclipse Mosquitto
Lightweight MQTT broker. Carries Frigate’s events to the bird classification.
WhosAtMyFeeder
Listens to Frigate’s bird events, crops the bird, determines the species, keeps the species statistics and posts to Telegram. Modified here: species from BioCLIP 2, every bird goes to BirdCamRAW.
https://github.com/mmcc-xx/WhosAtMyFeeder
BioCLIP 2
Foundation model for species of the tree of life. Used zero-shot with a list of 72 Central European bird species.
https://huggingface.co/imageomics/bioclip-2
OpenCLIP, PyTorch and scikit-learn
The AI pick of the day: OpenCLIP (ViT-L/14) turns every picture into an embedding, a small scikit-learn model trained on the BestOff pictures scores it. Runs on the CPU with PyTorch.
https://github.com/mlfoundations/open_clip
Python
Glue for everything: classification service, AI pick, Telegram bot, statistics.
Telegram
The channels BirdCamRAW and BirdCamBestOff and the bot that posts to them.
Wikipedia
Species descriptions and links in the Telegram posts, via the Wikipedia API.
Hugo
Static site generator for this website. Built by GitHub Actions on every change.
nginx
Web server on the VPS. Serves the site and passes the live stream through.
Let’s Encrypt
Free TLS certificates for this site.
WireGuard
Tunnel between the VPS and home. The live stream travels through it.
Docker
Every service runs in its own container, managed with Docker Compose.
Debian and Ubuntu Linux
The home server runs Debian, the VPS Ubuntu.