Skip to Content
DocumentationFirst-Party AppsπŸ‘½ Sipeed MaxiCam

πŸ‘½ Sipeed MaxiCam

Edge computer vision at the source. Run local CV models on the Sipeed MaixCam and stream real-time visual logs securely to your private memory layer.

Overview

The CI-MaixCam integration turns a Sipeed MaixCam into a dedicated edge computer vision sensor attached to your Companion Hub. Instead of streaming raw video to the cloud for analysis, vision models run directly on the MaixCam’s NPU β€” object detection, scene classification, face recognition (for personal use), OCR, and more β€” and only the resulting structured events are sent to your Digital Memory Server.

This design keeps raw video private while still building a rich, structured log of what the camera observes.

Key Features

  • On-device inference β€” models run on the MaixCam K230 NPU; no raw video leaves the device
  • Structured event stream β€” detections (objects, text, faces, activities) are streamed to Digital Memory as typed events
  • Model management β€” deploy, swap, and update CV models from the Hub dashboard
  • Snapshot capture β€” periodic or event-triggered still captures sent to Hub for memory enrichment
  • Multi-camera β€” manage multiple MaixCam devices from a single Hub instance
  • RTSP fallback β€” optionally stream raw video to internal Hub services (e.g. Frigate) when needed

Supported Hardware

DeviceNPUStatus
Sipeed MaixCam (K230)K230 KPUβœ…
Sipeed MaixCam ProK230 KPUβœ…

Pre-installed Models

The integration ships with several ready-to-run models:

ModelTaskNotes
YOLOv8nObject detection80 COCO classes
PaddleOCRText recognitionMulti-language
MobileNetV2Scene classificationImageNet classes
Face detectFace detectionNo cloud ID

Custom ONNX models can be converted and deployed via the Hub model manager.

Use Cases

  • Detect when specific objects (keys, packages, vehicles) appear in a room or driveway
  • OCR whiteboards and documents in real time and ingest into Digital Memory
  • Build a local occupancy log for home automation triggers in Home Assistant
  • Attach to a 3D printer to detect print failures automatically
  • Log what’s visible on your desk or workspace as a continuous ambient memory enrichment

Architecture

Sipeed MaixCam β”œβ”€β”€ Camera sensor └── K230 NPU ──▢ On-device inference β”‚ structured events (JSON over MQTT/HTTP) β–Ό CI-MaixCam Hub App β”œβ”€β”€ Event receiver β”œβ”€β”€ Model manager (OTA model updates) └── Memory bridge β”‚ β–Ό Digital Memory Server (object sightings, text captures, scene events)

Setup

Flash CI firmware to MaixCam

Download the latest CI-MaixCam firmware from the Hub dashboard or the GitHub releases page. Flash to the MaixCam using MaixPy’s flashing tool:

pip install maixpy maixpy flash --device /dev/ttyUSB0 --firmware ci-maixcam-v1.0.0.img

Connect to your Hub network

The MaixCam will broadcast a Wi-Fi AP on first boot. Connect to it and browse to 192.168.4.1 to set its Wi-Fi credentials to your Hub network (the same network as your Hub machine).

Install CI-MaixCam in Hub

Search for Sipeed MaxiCam in the Hub app store and install.

Register the device

Open http://maixcam.ci.localhost β†’ Devices β†’ Add β†’ enter the MaixCam’s IP address or hostname. The Hub will discover it automatically if on the same subnet.

Deploy a model

Navigate to Models β†’ Deploy and select a model from the library, or upload a custom .kmodel file. Click Deploy to Device.

Usage

Viewing the Detection Feed

The Hub dashboard at http://maixcam.ci.localhost shows a live event stream from all registered cameras, including bounding boxes overlaid on JPEG snapshots.

Querying Detections

All detections are stored in Digital Memory. Ask your agent: β€œWhen was the last time a person was detected by the front camera?” or search the timeline for β€œpackage detected”.

Custom Automation Triggers

Send MaixCam detections to Home Assistant via MQTT for automation triggers:

# In your CI-MaixCam config outputs: - type: mqtt topic: maixcam/detections broker: mqtt://homeassistant.ci.localhost

Troubleshooting

MaixCam not appearing in device discovery Ensure it is on the same LAN as your Hub. Check its Wi-Fi connection by opening its local UI at its assigned IP. Verify firewall rules allow traffic on port 8888 (CI-MaixCam’s event port).

Inference very slow Confirm the model is compiled for K230 KPU (.kmodel format). Unoptimized ONNX models fall back to CPU and are significantly slower.

Memory events missing object labels Check the model’s output class list in the Hub model manager. Ensure class labels are mapped correctly in the model configuration.

Last updated on