---
title: "Choose AI HAT+ project"
description: "Raspberry Pi AI projects on a Raspberry Pi 5 with the Sixfab AI HAT+ (DX-M1M): Frigate and Python builds, parts, setup order, limits and which to build first."
url: "https://docs.sixfab.com/projects/ai-hat-plus/choose-ai-hat-plus-project/"
last_updated: "2026-10-12"
---

# 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+](https://docs.sixfab.com/edge-ai/ai-hat-plus/) on Raspberry Pi 5

## How it works

The [NPU](https://docs.sixfab.com/projects/ai-hat-plus/choose-ai-hat-plus-project/#npu) on the Sixfab AI HAT+ for Raspberry Pi 5 (DEEPX DX-M1M) runs the detection or pose model, compiled to [`.dxnn`](https://docs.sixfab.com/projects/ai-hat-plus/choose-ai-hat-plus-project/#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](https://docs.sixfab.com/projects/ai-hat-plus/choose-ai-hat-plus-project/#rtsp).
2. [Frigate NVR](https://docs.sixfab.com/projects/ai-hat-plus/choose-ai-hat-plus-project/#frigate) sends frames to the NPU, which returns detections (Figure 1).
3. Frigate publishes each tracked object on the `frigate/events` [MQTT](https://docs.sixfab.com/projects/ai-hat-plus/choose-ai-hat-plus-project/#mqtt) topic.
4. In some projects, a small Python listener applies a rule, such as “log every person” or “alert if a package vanishes”.

![Frigate Debug view of a camera image with labeled bounding boxes around a car and a person, and a side panel naming the detector Deepx:PCIe:0](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/03-frigate-debug-view-car-and-person-boxes-deepx-detector.png)

**Figure 1** Frigate’s Debug view draws a box, a label and a confidence score around each car and person it detects. The side panel names the DEEPX detector doing the work.

## 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)](https://docs.sixfab.com/projects/ai-hat-plus/get-person-alert-camera-boss-detector/) | [Home security](https://docs.sixfab.com/projects/ai-hat-plus/choose-ai-hat-plus-project/#home-security) | YOLOv8n (COCO-80) | Frigate decoding and tracking, MQTT listener |
| [Package detection with a custom model (Porch Pirate)](https://docs.sixfab.com/projects/ai-hat-plus/catch-package-theft-porch-pirate/) | [Home security](https://docs.sixfab.com/projects/ai-hat-plus/choose-ai-hat-plus-project/#home-security) | Custom package model | Rule logic and MQTT listeners |
| [Face recognition camera](https://docs.sixfab.com/projects/ai-hat-plus/add-face-recognition-frigate-camera/) | [Home security](https://docs.sixfab.com/projects/ai-hat-plus/choose-ai-hat-plus-project/#home-security) | YOLOv8n (COCO-80) | Face recognition (Frigate’s ArcFace model) |
| [Bird camera with species ID](https://docs.sixfab.com/projects/ai-hat-plus/identify-bird-species-bird-feeder-camera/) | [Garden and wildlife](https://docs.sixfab.com/projects/ai-hat-plus/choose-ai-hat-plus-project/#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](https://docs.sixfab.com/projects/ai-hat-plus/build-squirrel-detector-sprinkler-trigger/) | [Garden and wildlife](https://docs.sixfab.com/projects/ai-hat-plus/choose-ai-hat-plus-project/#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](https://docs.sixfab.com/projects/ai-hat-plus/choose-ai-hat-plus-project/#hardware)).

| Project | Use case | Model on the NPU | On the Raspberry Pi 5 CPU |
| --- | --- | --- | --- |
| [People counter and heatmap](https://docs.sixfab.com/projects/ai-hat-plus/build-people-counter-foot-traffic-heatmap/) | [Retail analytics](https://docs.sixfab.com/projects/ai-hat-plus/choose-ai-hat-plus-project/#retail-analytics) | YOLOX-S (object detection) | Tracking and counting; heatmaps |
| [Pose estimation with YOLOv8, including fall detection](https://docs.sixfab.com/projects/ai-hat-plus/detect-falls-count-reps-pose-estimation/) | [Health and fitness](https://docs.sixfab.com/projects/ai-hat-plus/choose-ai-hat-plus-project/#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](https://docs.sixfab.com/projects/ai-hat-plus/set-up-frigate-nvr-ai-hat-plus/), then [camera feeds and MQTT for Frigate projects](https://docs.sixfab.com/projects/ai-hat-plus/connect-camera-feeds-mqtt-frigate/) |
| Python pipeline (`dx_engine`) | You need pose estimation, or your own tracking, counting and display | The Python runtime in the [Sixfab Model Zoo](https://docs.sixfab.com/edge-ai/ai-model-deployment/sixfab-model-zoo/) |

## Use cases

### Home security

The three home security projects act on what a porch or door camera sees.

- [Boss Detector](https://docs.sixfab.com/projects/ai-hat-plus/get-person-alert-camera-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](https://docs.sixfab.com/projects/ai-hat-plus/catch-package-theft-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](https://docs.sixfab.com/projects/ai-hat-plus/add-face-recognition-frigate-camera/) adds enrolled names to person events.

### Garden and wildlife

[COCO-80](https://docs.sixfab.com/projects/ai-hat-plus/choose-ai-hat-plus-project/#coco-80) has a bird class and no squirrel class, so the two projects use different models. The [bird camera](https://docs.sixfab.com/projects/ai-hat-plus/identify-bird-species-bird-feeder-camera/) uses one NABirds model with 555 classes, so the detector itself names the species at a feeder camera. [Squirrel detection](https://docs.sixfab.com/projects/ai-hat-plus/build-squirrel-detector-sprinkler-trigger/) uses a squirrel model and publishes an MQTT trigger for a sprinkler; no valve is wired.

### Retail analytics

The [people counter](https://docs.sixfab.com/projects/ai-hat-plus/build-people-counter-foot-traffic-heatmap/) counts entries and exits across a line and draws live and total foot-traffic heatmaps.

### Health and fitness

[Pose estimation](https://docs.sixfab.com/projects/ai-hat-plus/detect-falls-count-reps-pose-estimation/) runs one YOLOv8n-pose engine behind three Python apps: a Pilates rep counter, a [fall detection demo](https://docs.sixfab.com/projects/ai-hat-plus/detect-falls-count-reps-pose-estimation/#fall-detection) 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](https://docs.sixfab.com/edge-ai/ai-hat-plus/quickstart/).
2. Set up Frigate with the DEEPX detector: [Frigate NVR on Raspberry Pi 5 with the DEEPX NPU](https://docs.sixfab.com/projects/ai-hat-plus/set-up-frigate-nvr-ai-hat-plus/).
3. [Add an RTSP camera and an MQTT broker](https://docs.sixfab.com/projects/ai-hat-plus/connect-camera-feeds-mqtt-frigate/).
4. Open a project from [Projects](https://docs.sixfab.com/projects/ai-hat-plus/choose-ai-hat-plus-project/#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 5**: Frigate runs in Docker on it.
- **Sixfab AI HAT+ for Raspberry Pi 5 (DEEPX DX-M1M)**: Set it up with the [AI HAT+ quickstart](https://docs.sixfab.com/edge-ai/ai-hat-plus/quickstart/) (step 1 of [Set up project](https://docs.sixfab.com/projects/ai-hat-plus/choose-ai-hat-plus-project/#set-up-project)). The Raspberry Pi 5 sees the NPU as the device `/dev/dxrt0`. [Shop](https://shop.sixfab.com/products/ai-hat-plus-raspberry-pi-5?utm_source=docs.sixfab.com&utm_medium=referral&utm_campaign=ai-projects&utm_content=raspberry-pi-5-ai-projects)
- **An IP camera that streams RTSP, or a looped test video**: Frigate projects. Camera feeds and MQTT shows how to [serve a looped RTSP test feed](https://docs.sixfab.com/projects/ai-hat-plus/connect-camera-feeds-mqtt-frigate/). The pose apps can also read a USB webcam directly; that was not tested on the Raspberry Pi 5.
- **MQTT broker: Mosquitto**: Frigate projects. Mosquitto was tested; other brokers were not.
- **A monitor on the Raspberry Pi**: Only 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](https://docs.sixfab.com/projects/ai-hat-plus/get-person-alert-camera-boss-detector/#limitations), [Porch Pirate](https://docs.sixfab.com/projects/ai-hat-plus/catch-package-theft-porch-pirate/#limitations), [face recognition camera](https://docs.sixfab.com/projects/ai-hat-plus/add-face-recognition-frigate-camera/#limitations), [bird camera](https://docs.sixfab.com/projects/ai-hat-plus/identify-bird-species-bird-feeder-camera/#limitations), [squirrel detection](https://docs.sixfab.com/projects/ai-hat-plus/build-squirrel-detector-sprinkler-trigger/#limitations), [people counter](https://docs.sixfab.com/projects/ai-hat-plus/build-people-counter-foot-traffic-heatmap/#limitations) and [pose estimation](https://docs.sixfab.com/projects/ai-hat-plus/detect-falls-count-reps-pose-estimation/#limitations).

- The Frigate projects need a Frigate build with the DEEPX detector, and no stable release includes it yet. The [tested image](https://docs.sixfab.com/projects/ai-hat-plus/choose-ai-hat-plus-project/#test-setup), 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

### Do these projects need a cloud account or a Frigate+ subscription?

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.

### Can several projects share one Raspberry Pi 5 and one NPU?

Yes, for the Frigate projects: one Frigate instance on one NPU served several projects in testing. After adding a project, [check inference times](https://docs.sixfab.com/projects/ai-hat-plus/set-up-frigate-nvr-ai-hat-plus/#can-one-deepx-npu-run-several-cameras-and-models).

## 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](https://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](https://docs.sixfab.com/projects/ai-hat-plus/connect-camera-feeds-mqtt-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](https://docs.sixfab.com/projects/ai-hat-plus/connect-camera-feeds-mqtt-frigate/).
- **`.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`](https://docs.sixfab.com/edge-ai/ai-model-deployment/custom-models-dxnn-sdk/workflow/).
- **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

- [Boss Detector](https://docs.sixfab.com/projects/ai-hat-plus/get-person-alert-camera-boss-detector/): Build this first: a ready-compiled YOLOv8n model, so you write only the action.
- [Sixfab Model Zoo](https://docs.sixfab.com/edge-ai/ai-model-deployment/sixfab-model-zoo/): Pre-compiled `.dxnn` models for the NPU.
- [DX-COM configuration](https://docs.sixfab.com/edge-ai/ai-model-deployment/custom-models-dxnn-sdk/dx-com-configuration/): Compile a model with DX-COM.
- [System monitoring](https://docs.sixfab.com/edge-ai/ai-model-deployment/system-monitoring/): Check NPU load with `dxtop`.

## See also

- [Models supported on DEEPX NPUs](https://docs.sixfab.com/edge-ai/ai-model-deployment/supported-models/) Edge AI
- [AI HAT+ troubleshooting](https://docs.sixfab.com/edge-ai/ai-hat-plus/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](https://github.com/sixfab/sixfab-dx-frigate) and [sixfab-dx-examples](https://github.com/sixfab/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](https://github.com/sixfab/sixfab-dx-frigate/releases/tag/boss-detector-v1.0.0) |
| Porch Pirate | AGPL-3.0 | [porch-pirate-v1.0.0](https://github.com/sixfab/sixfab-dx-frigate/releases/tag/porch-pirate-v1.0.0) |
| Face recognition camera | AGPL-3.0 (YOLOv8n detector) | [smart-doorbell-v1.0.0](https://github.com/sixfab/sixfab-dx-frigate/releases/tag/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](https://github.com/sixfab/sixfab-dx-frigate/releases/tag/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](https://github.com/sixfab/sixfab-dx-frigate/releases/tag/squirrel-sprinkler-v1.0.0) |
| People counter and heatmap | Apache-2.0 (YOLOX, from the DEEPX Model Zoo) | [retail-analytics-v1.0.0](https://github.com/sixfab/sixfab-dx-examples/releases/tag/retail-analytics-v1.0.0) |
| Pose estimation | AGPL-3.0 (Ultralytics YOLOv8n-pose); COCO data | [pose-estimation-v1.0.0](https://github.com/sixfab/sixfab-dx-examples/releases/tag/pose-estimation-v1.0.0) |
