Loading...
Discovering amazing open source projects
Discovering amazing open source projects
Loading post content...
Frigate turns any IP camera into a privacy‑first security system by running TensorFlow‑based object detection locally. No cloud, no vendor lock‑in, and instant alerts that cut through the noise of motion‑only NVRs.
Traditional network video recorders (NVRs) rely on crude motion detection, flooding users with hours of irrelevant footage—shadows, wind‑blown leaves, or passing cars. To make sense of those recordings, many turn to cloud‑based AI services that ship video off‑site, sacrificing privacy and incurring recurring fees.
Frigate flips the script. It brings real‑time object detection to the edge, running TensorFlow (or a compatible accelerator) on your own hardware. Your camera feeds never leave your network, false positives drop dramatically, and you keep full control over your data—all without a monthly subscription.
Feature | Description |
---|---|
Realtime Object Detection | TensorFlow models run in separate processes, delivering >100 detections / second on a Google Coral or comparable accelerator. |
Motion‑Based Frame Selection | Low‑overhead motion detection decides when to invoke the heavy AI pipeline, saving CPU cycles. |
MQTT & Home‑Assistant Bridge | Automatic discovery of camera entities, binary sensors, and switchable zones for seamless automation. |
Retention‑Based Recording | Stores video only for events that contain detected objects, dramatically reducing storage needs. |
WebRTC & MSE Live View | Low‑latency streaming directly to browsers, eliminating the need for RTSP clients on every device. |
Zone & Mask Editing | Built‑in UI lets you define areas of interest (zones) and ignore regions (masks) to fine‑tune alerts. |
Multi‑Camera Scrubbing | Review several camera feeds side‑by‑side with synchronized playback, speeding up incident investigation. |
Extensible Model Support | Use the official Frigate+ custom models or plug in your own TensorFlow Lite models. |
Docker‑Ready | Official Docker images, pre‑configured compose files, and health‑checks for production‑grade deployments. |
Community‑Driven Docs | Full documentation at https://docs.frigate.video, with examples for Raspberry Pi, Jetson Nano, and more. |
Below is a minimal Docker‑Compose setup that gets Frigate up and running on a single‑board computer or any Docker‑enabled host.
# 1. Create a directory for the configuration
mkdir -p ~/frigate/config
# 2. Pull the official image
docker pull ghcr.io/blakeblackshear/frigate:stable
Create a docker-compose.yml
file in the same folder:
version: "3.9"
services:
frigate:
container_name: frigate
image: ghcr.io/blakeblackshear/frigate:stable
restart: unless-stopped
privileged: true # required for GPU/accelerator access
shm_size: "512mb" # shared memory for high‑resolution streams
volumes:
- /etc/localtime:/etc/localtime:ro
- ./config:/config
- /media/frigate/clips:/media/frigate/clips
- /media/frigate/recordings:/media/frigate/recordings
ports:
- "5000:5000" # UI
- "1935:1935" # RTMP (optional)
environment:
FRIGATE_RTSP_PASSWORD: "YOUR_RTSP_PASSWORD"
Next, add a basic config.yml
(replace camera1
with your actual RTSP URL):
mqtt:
host: mqtt-broker.local
user: mqtt_user
password: mqtt_pass
detectors:
coral:
type: edgetpu
device: usb
cameras:
front_yard:
ffmpeg:
inputs:
- path: rtsp://user:[email protected]:554/stream
roles:
- detect
- rtmp
width: 1280
height: 720
fps: 5
objects:
track:
- person
- car
- dog
zones:
driveway:
coordinates: 0,0,1280,0,1280,720,0,720
objects:
- car
Finally, launch the stack:
docker compose up -d
Open a browser to http://<your-host>:5000
and you’ll see the Frigate dashboard, where you can fine‑tune zones, view live WebRTC streams, and explore recorded clips.
Feature | Frigate (Open‑Source) | Nest Cam (Google) | Arlo Pro (Netgear) | Blue Iris (Commercial) |
---|---|---|---|---|
Local AI processing | ✅ | ❌ (cloud AI) | ❌ (cloud AI) | ✅ (requires powerful PC) |
No cloud storage required | ✅ | ❌ (subscription) | ❌ (subscription) | ✅ (local storage) |
Home‑Assistant integration | ✅ (MQTT + component) | ❌ (limited) | ❌ (limited) | ✅ (via MQTT) |
GPU / Coral accelerator support | ✅ | ❌ | ❌ | ✅ (GPU only) |
Free / No license cost | ✅ | ❌ (device cost) | ❌ (device cost) | ❌ (license per camera) |
Open community extensions | ✅ | ❌ | ❌ | ❌ |
Multi‑camera UI with zone editor | ✅ | ✅ (basic) | ✅ (basic) | ✅ |
WebRTC low‑latency view | ✅ | ✅ (via app) | ✅ (via app) | ❌ (RTSP only) |
Data privacy (no vendor lock‑in) | ✅ | ❌ (data sent to Google) | ❌ (data sent to Netgear) | ✅ (local) |
Bottom line: If you care about privacy, want AI accuracy without a cloud bill, and love the flexibility of open‑source, Frigate delivers a feature set that rivals (and often exceeds) the leading proprietary NVRs.
For weekly news in the tech-world check out The Infinity Dev Newsletter
Ready to take back control of your security footage?
Frigate empowers you to build a privacy‑first, AI‑enhanced surveillance system that scales from a single Raspberry Pi to a full‑blown home‑automation hub. Dive in, contribute, and keep your home’s eyes where they belong—right on your own hardware.
Curating the best open source projects every day. Follow us for daily discoveries of amazing tools and libraries.
Get all the latest posts delivered straight to your inbox.
We respect your privacy. Unsubscribe at any time.