blakeblackshear

    blakeblackshear/frigate

    #335 this week

    NVR with realtime local object detection for IP cameras

    ai
    computer-vision
    machine-learning
    camera
    google-coral
    home-assistant
    home-automation
    homeautomation
    TypeScript
    MIT
    35.6K stars
    3.6K forks
    35.6K GitHub watchers
    Updated 9/3/2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Use Cases & Benefits

    • Provides a local network video recorder with realtime AI-based object detection for IP cameras.
    • Delivers efficient, low-overhead object detection using AI accelerators and multiprocessing to maximize performance and minimize resource use.
    • Use for integrating smart video surveillance with Home Assistant for automated home security and monitoring.
    • Use for setting up low-latency live video streams with WebRTC and MSE support for real-time remote viewing.
    • Use for managing multi-camera setups with advanced motion detection, video retention, and customizable detection zones.

    About frigate

    logo

    Frigate - NVR With Realtime Object Detection for IP Cameras

    Translation status

    [English] | 简体中文

    A complete and local NVR designed for Home Assistant with AI object detection. Uses OpenCV and Tensorflow to perform realtime object detection locally for IP cameras.

    Use of a GPU or AI accelerator such as a Google Coral or Hailo is highly recommended. AI accelerators will outperform even the best CPUs with very little overhead.

    • Tight integration with Home Assistant via a custom component
    • Designed to minimize resource use and maximize performance by only looking for objects when and where it is necessary
    • Leverages multiprocessing heavily with an emphasis on realtime over processing every frame
    • Uses a very low overhead motion detection to determine where to run object detection
    • Object detection with TensorFlow runs in separate processes for maximum FPS
    • Communicates over MQTT for easy integration into other systems
    • Records video with retention settings based on detected objects
    • 24/7 recording
    • Re-streaming via RTSP to reduce the number of connections to your camera
    • WebRTC & MSE support for low-latency live view

    Documentation

    View the documentation at https://docs.frigate.video

    Donations

    If you would like to make a donation to support development, please use Github Sponsors.

    Screenshots

    Live dashboard

    Live dashboard

    Streamlined review workflow

    Streamlined review workflow

    Multi-camera scrubbing

    Multi-camera scrubbing

    Built-in mask and zone editor

    Multi-camera scrubbing

    Translations

    We use Weblate to support language translations. Contributions are always welcome.

    Translation status

    Discover Repositories

    Search across tracked repositories by name or description