π½ 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
| Device | NPU | Status |
|---|---|---|
| Sipeed MaixCam (K230) | K230 KPU | β |
| Sipeed MaixCam Pro | K230 KPU | β |
Pre-installed Models
The integration ships with several ready-to-run models:
| Model | Task | Notes |
|---|---|---|
| YOLOv8n | Object detection | 80 COCO classes |
| PaddleOCR | Text recognition | Multi-language |
| MobileNetV2 | Scene classification | ImageNet classes |
| Face detect | Face detection | No 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.imgConnect 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.localhostTroubleshooting
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.