Skip to content

Commit e5a4bfa

Browse files
committed
feat(depth-estimation): add skill configuration schema (config.yaml)
1 parent 48f9bf8 commit e5a4bfa

1 file changed

Lines changed: 66 additions & 0 deletions

File tree

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Depth Estimation Skill — Configuration Schema
2+
# Parsed by Aegis skill-registry-service.cjs → parseConfigYaml()
3+
# Format: params[] with key, type, label, default, description, options
4+
5+
params:
6+
- key: model
7+
label: Depth Model
8+
type: select
9+
default: depth-anything-v2-small
10+
description: "Depth Anything v2 model size — larger = more accurate but slower"
11+
options:
12+
- { value: depth-anything-v2-small, label: "Small (fastest)" }
13+
- { value: depth-anything-v2-base, label: "Base (balanced)" }
14+
- { value: depth-anything-v2-large, label: "Large (most accurate)" }
15+
16+
- key: variant
17+
label: CoreML Variant (macOS)
18+
type: select
19+
default: DepthAnythingV2SmallF16
20+
description: "CoreML model format — F16 recommended for Apple Neural Engine"
21+
options:
22+
- { value: DepthAnythingV2SmallF16, label: "Small F16 (recommended)" }
23+
- { value: DepthAnythingV2SmallF16INT8, label: "Small F16+INT8 (faster)" }
24+
- { value: DepthAnythingV2SmallF32, label: "Small F32 (highest precision)" }
25+
26+
- key: blend_mode
27+
label: Display Mode
28+
type: select
29+
default: depth_only
30+
description: "How the depth map is displayed over the camera feed"
31+
options:
32+
- { value: depth_only, label: "Depth Only (privacy)" }
33+
- { value: overlay, label: "Overlay (semi-transparent)" }
34+
- { value: side_by_side, label: "Side-by-Side" }
35+
36+
- key: opacity
37+
label: Overlay Opacity
38+
type: number
39+
default: 0.5
40+
description: "Overlay transparency when using overlay blend mode (0.0–1.0)"
41+
42+
- key: colormap
43+
label: Depth Colormap
44+
type: select
45+
default: inferno
46+
description: "Color scheme for depth visualization"
47+
options:
48+
- { value: inferno, label: "Inferno (warm)" }
49+
- { value: viridis, label: "Viridis (green-blue)" }
50+
- { value: plasma, label: "Plasma (purple-yellow)" }
51+
- { value: magma, label: "Magma (dark-hot)" }
52+
- { value: jet, label: "Jet (rainbow)" }
53+
- { value: turbo, label: "Turbo (improved rainbow)" }
54+
- { value: hot, label: "Hot (black-red-yellow)" }
55+
- { value: cool, label: "Cool (cyan-magenta)" }
56+
57+
- key: device
58+
label: Inference Device
59+
type: select
60+
default: auto
61+
description: "Compute backend for inference"
62+
options:
63+
- { value: auto, label: "Auto-detect" }
64+
- { value: cpu, label: "CPU" }
65+
- { value: cuda, label: "NVIDIA CUDA" }
66+
- { value: mps, label: "Apple Silicon (MPS)" }

0 commit comments

Comments
 (0)