Choose AI HAT+ project

Choose a Raspberry Pi 5 AI project for the AI HAT+, see what runs on the NPU and on the CPU in each, and set up the hardware and software in the right order.

Works with

AI HAT+Product overviewonRaspberry Pi 5

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:

  1. A camera streams video over RTSP.
  2. Frigate NVR sends frames to the NPU, which returns detections (Figure 1).
  3. Frigate publishes each tracked object on the frigate/events MQTT topic.
  4. 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.

ProjectUse caseModel on the NPUOn the Raspberry Pi 5 CPU
Person detection with an MQTT listener (Boss Detector)Home securityYOLOv8n (COCO-80)Frigate decoding and tracking, MQTT listener
Package detection with a custom model (Porch Pirate)Home securityCustom package modelRule logic and MQTT listeners
Face recognition cameraHome securityYOLOv8n (COCO-80)Face recognition (Frigate’s ArcFace model)
Bird camera with species IDGarden and wildlifeOne NABirds YOLO model, 555 classesFrigate decoding and tracking, one MQTT topic per species
Squirrel detection with an MQTT sprinkler triggerGarden and wildlifeSquirrel modelRule 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).

ProjectUse caseModel on the NPUOn the Raspberry Pi 5 CPU
People counter and heatmapRetail analyticsYOLOX-S (object detection)Tracking and counting; heatmaps
Pose estimation with YOLOv8, including fall detectionHealth and fitnessYOLOv8n-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.

StackChoose it whenSet up with
Frigate NVRYou want object detection on IP cameras, with zones and MQTT events for your own scriptsFrigate 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 displayThe 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

  1. Fit and set up the board once with the AI HAT+ quickstart.
  2. Set up Frigate with the DEEPX detector: Frigate NVR on Raspberry Pi 5 with the DEEPX NPU.
  3. Add an RTSP camera and an MQTT broker.
  4. 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

Required

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:

ComponentTested
ComputerRaspberry Pi 5 (8 GB)
Operating systemRaspberry Pi OS Trixie (64-bit)
NPU boardSixfab AI HAT+ (DEEPX DX-M1M)
RT driverv2.6.0
PCIe driverv2.5.0
DX-RTv3.4.2 on the Raspberry Pi 5, v3.4.0 in Frigate’s DEEPX detector
Firmwarev2.7.4
Frigate imageghcr.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

See also

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.

ProjectModel licenseRelease notes
Boss DetectorAGPL-3.0 (YOLOv8n)boss-detector-v1.0.0
Porch PirateAGPL-3.0porch-pirate-v1.0.0
Face recognition cameraAGPL-3.0 (YOLOv8n detector)smart-doorbell-v1.0.0
Bird camera with species IDAGPL-3.0 (Ultralytics YOLOv8 base); the NABirds data has a non-commercial restrictionbird-species-id-v1.0.0
Squirrel detectionAGPL-3.0 (Ultralytics YOLOv8m); two Roboflow datasets under CC BY 4.0squirrel-sprinkler-v1.0.0
People counter and heatmapApache-2.0 (YOLOX, from the DEEPX Model Zoo)retail-analytics-v1.0.0
Pose estimationAGPL-3.0 (Ultralytics YOLOv8n-pose); COCO datapose-estimation-v1.0.0