Works with
How it works
The NPU on the Sixfab AI HAT+ for Raspberry Pi 5 (DEEPX DX-M1M) runs the detection or pose model, compiled to .dxnn, so the Raspberry Pi 5 CPU stays free for video decoding, tracking and your own logic. Each project watches a camera, finds something in the picture and acts on it. A Frigate project works in 4 steps:
- A camera streams video over RTSP.
- Frigate NVR sends frames to the NPU, which returns detections (Figure 1).
- Frigate publishes each tracked object on the
frigate/eventsMQTT topic. - In some projects, a small Python listener applies a rule, such as “log every person” or “alert if a package vanishes”.

Projects
Seven projects: five on Frigate NVR and two Python pipelines. The Frigate projects live in the sixfab-dx-frigate repository on GitHub; the Python apps in sixfab-dx-examples.
Frigate NVR projects
The NPU runs object detection; the camera input is RTSP.
| Project | Use case | Model on the NPU | On the Raspberry Pi 5 CPU |
|---|---|---|---|
| Person detection with an MQTT listener (Boss Detector) | Home security | YOLOv8n (COCO-80) | Frigate decoding and tracking, MQTT listener |
| Package detection with a custom model (Porch Pirate) | Home security | Custom package model | Rule logic and MQTT listeners |
| Face recognition camera | Home security | YOLOv8n (COCO-80) | Face recognition (Frigate’s ArcFace model) |
| Bird camera with species ID | Garden and wildlife | One NABirds YOLO model, 555 classes | Frigate decoding and tracking, one MQTT topic per species |
| Squirrel detection with an MQTT sprinkler trigger | Garden and wildlife | Squirrel model | Rule logic and MQTT listeners |
Python pipeline projects
The apps talk to the NPU through dx_engine. The people counter reads a video file or an RTSP stream, the pose apps a video file or a USB webcam (see Hardware).
| Project | Use case | Model on the NPU | On the Raspberry Pi 5 CPU |
|---|---|---|---|
| People counter and heatmap | Retail analytics | YOLOX-S (object detection) | Tracking and counting; heatmaps |
| Pose estimation with YOLOv8, including fall detection | Health and fitness | YOLOv8n-pose (pose estimation) | Capture, decoding, tracking, app logic |
Choose Frigate or Python pipeline
Frigate’s DEEPX detector runs object detection only, and Frigate has no pose estimation support. The pose apps are therefore Python scripts.
| Stack | Choose it when | Set up with |
|---|---|---|
| Frigate NVR | You want object detection on IP cameras, with zones and MQTT events for your own scripts | Frigate NVR on Raspberry Pi 5 with the DEEPX NPU, then camera feeds and MQTT for Frigate projects |
Python pipeline (dx_engine) | You need pose estimation, or your own tracking, counting and display | The Python runtime in the Sixfab Model Zoo |
Use cases
Home security
The three home security projects act on what a porch or door camera sees.
- Boss Detector finds people with a ready-compiled YOLOv8n model, and a Python listener publishes an MQTT alert when it sees a person.
- Porch Pirate (US slang for someone who steals delivered packages) uses a custom package model and a porch zone. It publishes an alert when a package disappears after someone new entered the zone. It is not a security product.
- The face recognition camera adds enrolled names to person events.
Garden and wildlife
COCO-80 has a bird class and no squirrel class, so the two projects use different models. The bird camera uses one NABirds model with 555 classes, so the detector itself names the species at a feeder camera. Squirrel detection uses a squirrel model and publishes an MQTT trigger for a sprinkler; no valve is wired.
Retail analytics
The people counter counts entries and exits across a line and draws live and total foot-traffic heatmaps.
Health and fitness
Pose estimation runs one YOLOv8n-pose engine behind three Python apps: a Pilates rep counter, a fall detection demo and a Fruit Ninja-style pose game. The fall detector is a demo, not a safety device or a medical or emergency alert device.
Set up project
- Fit and set up the board once with the AI HAT+ quickstart.
- Set up Frigate with the DEEPX detector: Frigate NVR on Raspberry Pi 5 with the DEEPX NPU.
- Add an RTSP camera and an MQTT broker.
- Open a project from Projects and follow its Install section.
The people counter and the pose apps do not use Frigate: they skip steps 2 and 3, and need the board and a desktop session.
Hardware
Parts
- Raspberry Pi 5Frigate runs in Docker on it.
- Sixfab AI HAT+ for Raspberry Pi 5 (DEEPX DX-M1M)Set it up with the AI HAT+ quickstart (step 1 of Set up project). The Raspberry Pi 5 sees the NPU as the device
/dev/dxrt0.Shop - An IP camera that streams RTSP, or a looped test videoFrigate projects. Camera feeds and MQTT shows how to serve a looped RTSP test feed. The pose apps can also read a USB webcam directly; that was not tested on the Raspberry Pi 5.
- MQTT broker: MosquittoFrigate projects. Mosquitto was tested; other brokers were not.
- A monitor on the Raspberry PiOnly the people counter and the pose apps, which open windows on the Raspberry Pi desktop.
Test setup
Every project was tested on a Raspberry Pi 5 with the AI HAT+ (DX-M1M). Every Frigate project was tested with a live IP camera over RTSP; the people counter and pose pages use video files. No project page publishes an accuracy figure. The people counter and the pose apps were tested separately, on November 10, 2026, with dx_engine 3.5.0 (people counter) and DX-RT v3.5.0 (pose); each page gives its setup under Results. The Frigate projects were last tested on October 5, 2026, on this setup:
| Component | Tested |
|---|---|
| Computer | Raspberry Pi 5 (8 GB) |
| Operating system | Raspberry Pi OS Trixie (64-bit) |
| NPU board | Sixfab AI HAT+ (DEEPX DX-M1M) |
| RT driver | v2.6.0 |
| PCIe driver | v2.5.0 |
| DX-RT | v3.4.2 on the Raspberry Pi 5, v3.4.0 in Frigate’s DEEPX detector |
| Firmware | v2.7.4 |
| Frigate image | ghcr.io/blakeblackshear/frigate:af0ba19-standard-arm64 |
Limitations
These limits apply to all the projects. Each project page lists its own under Limitations: Boss Detector, Porch Pirate, face recognition camera, bird camera, squirrel detection, people counter and pose estimation.
- The Frigate projects need a Frigate build with the DEEPX detector, and no stable release includes it yet. The tested image, published by Frigate on GitHub Container Registry, is built from commit af0ba19 of the dev branch of the official Frigate repository.
- Frigate chooses the DX-RT version its DEEPX detector uses. The tested build pins DX-RT v3.4.0, and this page cannot change it.
- If the DX-RT daemon (the DEEPX runtime) restarts, restart the Frigate container too.
- The Frigate projects ran with Frigate in Docker. Home Assistant OS and the Frigate add-on were not tested.
- Face recognition, the people counter and the fall demo handle images of people; see each project page’s Privacy section.
- The Mosquitto broker in the tested setup has no password and no TLS, so anyone on the network can publish to it.
Frequently asked questions
No. Detection runs locally on the Raspberry Pi 5 and its NPU, and events go to your own MQTT broker. Porch Pirate uses a custom model instead of Frigate+. The installers download a project’s files from GitHub, and Frigate downloads the DX-RT Python bindings the first time a DEEPX detector is configured.
Yes, for the Frigate projects: one Frigate instance on one NPU served several projects in testing. After adding a project, check inference times.
Glossary
- NPU (neural processing unit): a chip built to run neural-network models, leaving the Raspberry Pi 5 CPU free for video and app logic.
- TOPS (trillions of operations per second): an NPU’s peak INT8 math rate; a spec-sheet ceiling, not a measured speed.
- Frigate: Frigate NVR, an open-source network video recorder that runs in Docker, detects objects in camera streams and publishes events over MQTT. See frigate.video.
- RTSP (Real Time Streaming Protocol): how most IP cameras stream live video, at an address that starts with
rtsp://. Camera feeds and MQTT shows how to connect an RTSP camera to Frigate. - MQTT: a publish-and-subscribe messaging protocol. Frigate posts events to a broker such as Mosquitto, and your scripts subscribe to them. See Frigate MQTT topics and a Mosquitto broker.
.dxnn: a model file compiled for DEEPX NPUs by the DX-COM compiler; the DX-M1 runs only this format. See compile your own model to.dxnn.- COCO-80: the 80-class label set many pretrained detectors use, with person as class 0.
- PPU (Post-Processing Unit): the part of the DEEPX NPU that decodes the detection boxes and applies non-maximum suppression (NMS) on the chip, so the CPU has less to do. The
-ppu-model files in these projects use it.
Next steps
.dxnn models for the NPU.
DX-COM configuration
Compile a model with DX-COM.
System monitoring
Check NPU load with dxtop.
See also
- Models supported on DEEPX NPUs Edge AI
- AI HAT+ troubleshooting Edge AI
License and credits
The project code is under the MIT license. Each model has its own license, listed in the table; AGPL-3.0 sets conditions for commercial use. The release notes of each project, on the releases pages of sixfab-dx-frigate and sixfab-dx-examples, list every model’s license and details; read them before any commercial use.
| Project | Model license | Release notes |
|---|---|---|
| Boss Detector | AGPL-3.0 (YOLOv8n) | boss-detector-v1.0.0 |
| Porch Pirate | AGPL-3.0 | porch-pirate-v1.0.0 |
| Face recognition camera | AGPL-3.0 (YOLOv8n detector) | smart-doorbell-v1.0.0 |
| Bird camera with species ID | AGPL-3.0 (Ultralytics YOLOv8 base); the NABirds data has a non-commercial restriction | bird-species-id-v1.0.0 |
| Squirrel detection | AGPL-3.0 (Ultralytics YOLOv8m); two Roboflow datasets under CC BY 4.0 | squirrel-sprinkler-v1.0.0 |
| People counter and heatmap | Apache-2.0 (YOLOX, from the DEEPX Model Zoo) | retail-analytics-v1.0.0 |
| Pose estimation | AGPL-3.0 (Ultralytics YOLOv8n-pose); COCO data | pose-estimation-v1.0.0 |