You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**stderr**: logging only — ignored by Aegis data parser
10
+
11
+
Format: **JSON Lines** (one JSON object per line, newline-delimited).
12
+
13
+
## Events
14
+
15
+
### Ready (Skill → Aegis)
16
+
17
+
Emitted after model loads successfully. `fps` reflects the skill's configured processing rate. `available_sizes` lists the model variants the skill supports.
Coordinates are in the original image space (not normalized).
72
+
73
+
### Timestamps
74
+
75
+
ISO 8601 format: `2026-03-01T14:30:00Z`
76
+
77
+
### Frame Transfer
78
+
79
+
Frames are written to `/tmp/aegis_detection/frame_{camera_id}.jpg` as JPEG files with recycled per-camera filenames (overwritten each cycle). The `frame_path` in the frame event is the absolute path to the JPEG file.
80
+
81
+
## FPS Presets
82
+
83
+
| Preset | FPS | Use Case |
84
+
|--------|-----|----------|
85
+
| Ultra Low | 0.2 | Battery saver |
86
+
| Low | 0.5 | Passive surveillance |
87
+
| Normal | 1 | Standard monitoring |
88
+
| Active | 3 | Active area monitoring |
89
+
| High | 5 | Security-critical zones |
90
+
| Real-time | 15 | Live tracking |
91
+
92
+
## Backpressure
93
+
94
+
The protocol is **request-response**: Aegis sends one frame, waits for the detection result, then sends the next. This provides natural backpressure — if the skill is slow, Aegis automatically drops frames (always uses the latest available frame).
description: "Larger models are more accurate but slower"
13
14
group: Model
14
15
15
16
- name: confidence
@@ -29,18 +30,18 @@ parameters:
29
30
30
31
- name: fps
31
32
label: "Processing FPS"
32
-
type: number
33
-
min: 1
34
-
max: 30
33
+
type: select
34
+
options: [0.2, 0.5, 1, 3, 5, 15]
35
35
default: 5
36
+
description: "Frames per second — higher = more CPU/GPU usage"
36
37
group: Performance
37
38
38
39
- name: device
39
40
label: "Inference Device"
40
41
type: select
41
-
options: ["auto", "cpu", "cuda", "mps"]
42
+
options: ["auto", "cpu", "cuda", "mps", "rocm"]
42
43
default: "auto"
43
-
description: "auto = GPU if available, else CPU"
44
+
description: "auto = best available GPU, else CPU"
44
45
group: Performance
45
46
46
47
capabilities:
@@ -49,78 +50,59 @@ capabilities:
49
50
description: "Real-time object detection on live camera frames"
50
51
---
51
52
52
-
# YOLO Object Detection (2026)
53
-
54
-
Real-time object detection using state-of-the-art YOLO models. Detects 80+ COCO object classes including people, vehicles, animals, and everyday objects. Outputs bounding boxes with labels and confidence scores that SharpAI Aegis renders as overlays on the live camera feed.
55
-
56
-
## What You Get
57
-
58
-
When installed in SharpAI Aegis, this skill unlocks:
59
-
-**Live detection overlays** on camera feeds — bounding boxes around detected objects
60
-
-**Smart alert triggers** — configure alerts when specific objects are detected
61
-
-**Detection history** — searchable log of all detections
62
-
63
-
## Models
64
-
65
-
| Model | Size | Speed (FPS) | Accuracy (mAP) | Best For |
Real-time object detection using the latest YOLO 2026 models. Detects 80+ COCO object classes including people, vehicles, animals, and everyday objects. Outputs bounding boxes with labels and confidence scores.
75
56
76
-
1. Create a Python virtual environment:
77
-
```bash
78
-
python3 -m venv .venv &&source .venv/bin/activate
79
-
```
57
+
## Model Sizes
80
58
81
-
2. Install dependencies:
82
-
```bash
83
-
pip install -r requirements.txt
84
-
```
85
-
86
-
3. Download model weights (automatic on first run, or manually):
`[x_min, y_min, x_max, y_max]` in pixel coordinates.
87
+
### Stop Command
88
+
```jsonl
89
+
{"command": "stop"}
90
+
```
91
+
92
+
## Hardware Support
114
93
115
-
## Hardware Requirements
94
+
| Platform | Backend | Performance |
95
+
|----------|---------|-------------|
96
+
| Apple Silicon (M1+) | MPS | 20-30 FPS |
97
+
| NVIDIA GPU | CUDA | 25-60 FPS |
98
+
| AMD GPU | ROCm | 15-40 FPS |
99
+
| CPU (modern x86) | CPU | 5-15 FPS |
100
+
| Raspberry Pi 5 | CPU | 2-5 FPS |
116
101
117
-
| Device | Performance |
118
-
|--------|------------|
119
-
| Apple Silicon (M1+) | 20-30 FPS with MPS acceleration |
120
-
| NVIDIA GPU | 25-60 FPS with CUDA |
121
-
| CPU (modern x86) | 5-15 FPS |
122
-
| Raspberry Pi 5 | 2-5 FPS |
102
+
## Installation
123
103
124
-
## Contributing
104
+
The `deploy.sh` bootstrapper handles everything — Python environment, GPU backend detection, and dependency installation. No manual setup required.
125
105
126
-
This skill is part of the [DeepCamera](https://github.com/SharpAI/DeepCamera) open-source project. Contributions welcome — see [Contributions.md](../../Contributions.md).
0 commit comments