depth-estimation
Real-time depth map privacy transforms using Depth Anything v2 (CoreML + PyTorch)
Skill by SharpAI
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/sharpai-depth-estimation-68e49f
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
depth-estimation- Description
- Real-time depth map privacy transforms using Depth Anything v2 (CoreML + PyTorch)
- License
- MIT
- Instructions
- 63 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (14)
- README.md
- SKILL.md
- config.yaml
- deploy.bat
- deploy.sh
- models.json
- requirements.txt
- requirements_cpu.txt
- requirements_cuda.txt
- requirements_directml.txt
- benchmark.py · scripts/
- benchmark_coreml.py · scripts/
- transform.py · scripts/
- transform_base.py · scripts/
SKILL.md (first lines)
# Depth Estimation (Privacy)
Real-time monocular depth estimation using Depth Anything v2. Transforms camera feeds with colorized depth maps — near objects appear warm, far objects appear cool.
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.
## Hardware Backends
| Platform | Backend | Runtime | Model |
|----------|---------|---------|-------|
| **macOS** | CoreML | Apple Neural Engine | `apple/coreml-depth-anything-v2-small` (.mlpackage) |
| Linux/Windows | PyTorch | CUDA / CPU | `depth-anything/Depth-Anything-V2-Small` (.pth) |
On macOS, CoreML runs on the Neural Engine, leaving the GPU free for other tasks. The model is auto-downloaded from HuggingFace and stored at `~/.aegis-ai/models/feature-extraction/`.
## What You Get
- **Privacy anonymization** — depth-only mode hides all visual identity
- **Depth overlays** on live camera feeds
- **3D scene understanding** — spatial layout of the scene
- **CoreML acceleration** — Neural Engine on Apple Silicon (3-5x faster than MPS)
## Interface: TransformSkillBase
This skill implements the `TransformSkillBase` interface. Any new privacy skill can be created by subclassing `TransformSkillBase` and implementing two methods:
```python
from transform_base import TransformSkillBase
class MyPrivacySkill(TransformSkillBase):
def load_model(self, config):
# Load your model, return {"model": "...", "device": "..."}
...
def transform_frame(self, image, metadata):
# Transform BGR image, return BGR image
...
```
## Protocol
### Aegis → Skill (stdin)
```jsonl
{"event": "frame", "frame_id": "cam1_1710001", "camera_id": "front_door", "frame_path": "/tmp/frame.jpg", "timestamp": "..."}
{"command": "config-update", "config": {"opacity": 0.8, "blend_mode": "overlay"}}
{"command": "stop"}
```
### Skill → Aegis (stdout)
```jsonl
{"event": "ready", "model": "coreml-DepthAnythingV2SmallF16", "device": "neural_engine", "backend": "coreml"}
{"event": "transform", "frame_id": "cam1_1710001", "camera_id": "front_door", "transform_data": "<base64 JPEG>"}
{"event": "perf_stats", "total_frames": 50, "timings_ms": {"transform": {"avg": 12.5, ...}}}
```
## Setup
```bash
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
```From SharpAI/DeepCamera, MIT.
More from SharpAI/DeepCamera
- 0.787score
yolo-detection-2026
SharpAI
YOLO 2026 — state-of-the-art real-time object detection
SkillBFreshness: B★ 3.1KClaude Code +9 - 0.786score
depth-estimation
SharpAI
Real-time depth map privacy transforms using Depth Anything v2 (CoreML + PyTorch)
SkillBFreshness: B★ 3.1KClaude Code +9 - 0.572score
homeassistant-bridge
SharpAI
Bidirectional Home Assistant integration — HA cameras in, detection results out
SkillDFreshness: D★ 3.1KClaude Code +9 - 0.572score
yolo-detection-2026-openvino
SharpAI
OpenVINO — real-time object detection via Docker (NCS2, Intel GPU, CPU)
SkillDFreshness: D★ 3.1KClaude Code +9 - 0.572score
dataset-annotation
SharpAI
AI-assisted dataset annotation with COCO export — bbox, SAM2, DINOv3 methods
SkillDFreshness: D★ 3.1KClaude Code +9 - 0.572score
yolo-detection-2026-coral-tpu-win-wsl
SharpAI
Google Coral Edge TPU — real-time object detection natively via Windows WSL
SkillDFreshness: D★ 3.1KClaude Code +9 - 0.572score
yolo-detection-2026-coral-tpu-macos
SharpAI
Google Coral Edge TPU — real-time object detection natively (macOS / Linux)
SkillDFreshness: D★ 3.1KClaude Code +9 - 0.569score
go2rtc-cameras
SharpAI
Multi-camera RTSP to WebRTC streaming via go2rtc
SkillDFreshness: D★ 3.1KClaude Code +9 - 0.568score
segmentation-sam2
SharpAI
Interactive click-to-segment using Segment Anything 2 — AI-assisted labeling for Annotation Studio
SkillDFreshness: D★ 3.1KClaude Code +9 - 0.568score
annotation-data
SharpAI
Dataset annotation management — COCO labels, sequences, export, and Kaggle upload
SkillDFreshness: D★ 3.1KClaude Code +9 - 0.567score
model-training
SharpAI
Agent-driven YOLO fine-tuning — annotate, train, export, deploy
SkillDFreshness: D★ 3.1KClaude Code +9 - 0.565score
mqtt-automation
SharpAI
Publish Aegis events to MQTT broker
SkillDFreshness: D★ 3.1KClaude Code +9
Signals
- Stars
- 3,109
- Forks
- 489
- Open issues
- 15
- Last commit (this folder)
- Mar 18, 2026 (7 months ago)
- Last release
- Mar 14, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/SharpAI/DeepCamera
- Website
- www.sharpai.org
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.786score
depth-estimation
SharpAI
Real-time depth map privacy transforms using Depth Anything v2 (CoreML + PyTorch)
SkillBFreshness: B★ 3.1KClaude Code +9 - 0.243score
depth-estimation
deco31416
Real-time depth map privacy transforms using Depth Anything v2 (CoreML + PyTorch)
SkillDFreshness: DClaude Code +9
More from SharpAI
- 0.787score
yolo-detection-2026
SharpAI
YOLO 2026 — state-of-the-art real-time object detection
SkillBFreshness: B★ 3.1KClaude Code +9 - 0.786score
depth-estimation
SharpAI
Real-time depth map privacy transforms using Depth Anything v2 (CoreML + PyTorch)
SkillBFreshness: B★ 3.1KClaude Code +9 - 0.572score
dataset-annotation
SharpAI
AI-assisted dataset annotation with COCO export — bbox, SAM2, DINOv3 methods
SkillDFreshness: D★ 3.1KClaude Code +9 - 0.572score
yolo-detection-2026-coral-tpu-macos
SharpAI
Google Coral Edge TPU — real-time object detection natively (macOS / Linux)
SkillDFreshness: D★ 3.1KClaude Code +9 - 0.572score
yolo-detection-2026-coral-tpu-win-wsl
SharpAI
Google Coral Edge TPU — real-time object detection natively via Windows WSL
SkillDFreshness: D★ 3.1KClaude Code +9 - 0.572score
yolo-detection-2026-openvino
SharpAI
OpenVINO — real-time object detection via Docker (NCS2, Intel GPU, CPU)
SkillDFreshness: D★ 3.1KClaude Code +9
Cite this page
depth-estimation skill. Agent Mart. https://agentmart.dev/skills/sharpai-depth-estimation-68e49f (last updated 2026-10-24)