본문으로 건너뛰기
cccskills
무료GitHub에 공개

depth-estimation

Real-time depth map privacy transforms using Depth Anything v2 (CoreML + PyTorch)

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(14)

  • SKILL.md3.7 KB
  • config.yaml2.6 KB
  • deploy.bat5.7 KB
  • deploy.sh7.3 KB
  • models.json4.9 KB
  • README.md3.0 KB
  • requirements_cpu.txt437 B
  • requirements_cuda.txt522 B
  • requirements_directml.txt518 B
  • requirements.txt1.3 KB
  • scripts/benchmark_coreml.py5.7 KB
  • scripts/benchmark.py11.3 KB
  • scripts/transform_base.py16.8 KB
  • scripts/transform.py25.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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

PlatformBackendRuntimeModel
macOSCoreMLApple Neural Engineapple/coreml-depth-anything-v2-small (.mlpackage)
Linux/WindowsPyTorchCUDA / CPUdepth-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:

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)

{"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)

{"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

python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Dataset annotation management — COCO labels, sequences, export, and Kaggle upload

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SharpAI/DeepCamera3.1천2026년 9월 17일 업데이트

Eufy camera integration — local RTSP streaming and event clips

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SharpAI/DeepCamera3.1천2026년 9월 17일 업데이트

Reolink camera integration — RTSP and HTTP API

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SharpAI/DeepCamera3.1천2026년 9월 17일 업데이트

TP-Link Tapo camera integration — RTSP streaming and ONVIF

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SharpAI/DeepCamera3.1천2026년 9월 17일 업데이트

LINE messaging channel for Clawdbot agent

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SharpAI/DeepCamera3.1천2026년 9월 17일 업데이트

Matrix/Element messaging channel for Clawdbot agent

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SharpAI/DeepCamera3.1천2026년 9월 17일 업데이트

SharpAI의 스킬 모두 보기

이 스킬의 문제 신고