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
feat(depth-estimation): refactor to TransformSkillBase + privacy-first defaults
Refactors depth-estimation skill to subclass TransformSkillBase, reducing
transform.py from ~160 lines of boilerplate to ~100 lines of pure skill logic.
Key changes:
- Default blend_mode changed to 'depth_only' for privacy anonymization
- Version bumped to 1.1.0, category set to 'privacy'
- SKILL.md documents the TransformSkillBase interface for new skill authors
- Protocol updated: frame_id tracking, config-update command, base64 output
- Adds on_config_update() for live parameter changes from Aegis
description: "Real-time depth estimation overlay on live feed"
47
48
---
48
49
49
-
# Depth Estimation
50
+
# Depth Estimation (Privacy)
50
51
51
52
Real-time monocular depth estimation using Depth Anything v2. Transforms camera feeds with colorized depth maps — near objects appear warm, far objects appear cool.
52
53
54
+
When used for **privacy mode**, the `depth_only` blend mode fully anonymizes the scene while preserving spatial layout and activity, enabling security monitoring without revealing identities.
55
+
53
56
## What You Get
54
57
58
+
-**Privacy anonymization** — depth-only mode hides all visual identity
55
59
-**Depth overlays** on live camera feeds
56
60
-**Distance estimation** — approximate distance to detected objects
57
61
-**3D scene understanding** — spatial layout of the scene
58
62
63
+
## Interface: TransformSkillBase
64
+
65
+
This skill implements the `TransformSkillBase` interface. Any new privacy skill can be created by subclassing `TransformSkillBase` and implementing two methods:
66
+
67
+
```python
68
+
from transform_base import TransformSkillBase
69
+
70
+
classMyPrivacySkill(TransformSkillBase):
71
+
defload_model(self, config):
72
+
# Load your model, return {"model": "...", "device": "..."}
0 commit comments