DeepCamera

SharpAIMIT活跃维护

开源的 AI 摄像头与 NVR 监控平台,用本地 VLM 和 YOLO 做视频分析,并通过 Telegram、Discord、Slack 推送智能安防告警。

Open-Source AI Camera Skills Platform, AI NVR & CCTV Surveillance. Local VLM video analysis with Qwen, DeepSeek, SmolVLM, LLaVA, YOLO26. LLM-powered agentic security camera agent — watches, understands, remembers & guards your home via Telegram, Discord or Slack. Pluggable AI skills. OpenAI, Google, Anthropic or local AI. Runs on Mac Mini & AI PC.

v2026.3发布于 2026-03-14 00:43 UTC3,138star +2 / 7 天489fork同步于 2026-11-10 05:41 UTC

怎么上手

由 README 提炼,执行前请确认
pip install sharpai-hub
硬件要求按 README 说明

README 未给出具体显存要求。支持 NVIDIA(RTX、Jetson)、AMD(RX、MI)、Apple Silicon(M1–M4)、Intel(CPU、iGPU、NPU)以及纯 CPU 运行,另支持 Google Coral USB 加速器。

纯 CPU 可运行支持 Apple Silicon需要 CUDA支持 ROCm / AMD
下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

开源 AI 摄像头技能平台,用本地 VLM 和 YOLO 把普通摄像头变成能看懂画面的智能监控

开源的 AI 摄像头与 NVR 监控平台,用本地 VLM 和 YOLO 做视频分析,并通过 Telegram、Discord、Slack 推送智能安防告警。

核心能力

  • 以 SKILL.md 为接口的可插拔技能架构,检测、分割、隐私等能力可互换
  • 用 Qwen、DeepSeek、SmolVLM、LLaVA 等本地 VLM 做视频场景分析
  • YOLO26 实时检测 80+ 类目标,自动转换为 TensorRT、CoreML、OpenVINO、ONNX 格式
  • env_config.py 自动识别 NVIDIA、AMD、Apple Silicon、Intel 或纯 CPU 并安装匹配后端
  • 通过 Telegram、Discord、Slack 与摄像头对话,支持持久记忆与智能告警

容易踩的坑

README 未给出命令行安装步骤,主要引导下载 SharpAI Aegis 桌面应用完成部署;VLM 模型需通过 Aegis 从 HuggingFace 单独下载;各技能会自建 Python venv 或 Docker 容器,依赖由 LLM 代理按硬件自动安装。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v2026.3
  1. v2026.3DeepCamera v2026.3 — Skill Platform Milestone最新正式版2026-03-14 · 2026-03-14 00:43 UTC

    136 commits since the last release, transforming DeepCamera from a monolithic AI camera backend into a decentralized Skill Platform for Aegis-AI.


    🏗️ Skill Platform Architecture

    • 18 skills across 10 categories: Detection, Analysis, Annotation, Automation, Streaming, Channels, Transformation, Integrations, Camera Providers, and Benchmarking
    • Standardized SKILL.md manifest + requirements.txt dependency model
    • JSON-lines over stdin/stdout communication protocol
    • Progress event emission during startup for Aegis UI feedback
    • Graceful SIGTERM shutdown handling

    📊 HomeSec-Bench: 131-Test Benchmark Suite

    The Home Security AI Benchmark is the anchor skill, evaluating LLM and VLM performance in residential security contexts:

    • 131 tests across 16 suites (96 LLM + 35 VLM)
    • Context Preprocessing, Knowledge Distillation, Event Deduplication, Security Classification
    • Tool Use validation against real Aegis agent-bridge.cjs definitions
    • 35 AI-generated security camera fixture frames
    • Auto-generated HTML report with Historical Comparison table
    • Qwen3.5 compatibility: <think></think> injection to disable reasoning, balanced-brace JSON parser, buffered token streaming with [C]/[R] field tagging, smart early-abort (100 reasoning tokens, 2× maxTokens, 2000 global cap)

    🖥️ Cross-Platform Deployment

    Windows

    • deploy.bat equivalents for all skills with deploy.sh
    • WMI-based GPU detection fallback
    • Quoting bug fixes in GPU detection

    AMD ROCm

    • ROCm 7.2+ GPU detection
    • PyTorch+HIP inference (replacing ONNX)
    • Auto-detect installed ROCm version for correct PyTorch wheel
    • Graceful CPU fallback when ROCm PyTorch unavailable

    Apple Silicon

    • YOLO routing to Neural Engine (NPU) via CoreML
    • numpy <2.0.0 pin for CoreML export compatibility

    🔧 Infrastructure

    • CameraClaw registry migrated to DeepCamera with url field
    • Third-party benchmarks removed from skill registry
    • Modernized README with skill catalog and platform identity
    • src/ directory index with module map and architecture docs

    📦 Skill Catalog (10 Categories)

    CategorySkills
    DetectionYOLO 2026
    AnalysisHome Security Benchmark, VLM Scene Analysis
    AnnotationBounding Box Overlay
    AutomationSchedule Engine
    Streaminggo2rtc, RTSP Relay
    ChannelsDiscord, Telegram
    TransformationFrame Resize, Video Compose
    Camera ProvidersBlink, ONVIF
    IntegrationsCameraClaw (OpenClaw)

    Full Changelog: Aegis...v2026.3

  2. AegisAegis-Quick-release2026-02-18 · 2026-02-18 06:38 UTC

    这个版本没有写更新说明。

  3. v3.4.3SharpAI Hub release2022-08-18 · 2022-08-18 18:39 UTC
    查看更新说明

    This release introduced a big leap of DeepCamera, SharpAI team implemented an python cli based installation helper to easily deploy AI Camera applications to your system.

  4. 1.4DeepCamera Android 1.4.4 Release2019-05-03 · 2019-05-03 01:28 UTC
    查看更新说明

    Install DeepCamera AI monitor on Android https://github.com/SharpAI/DeepCamera/releases/download/1.4/DeepCamera_1.4.4.apk

    built from 1.4.4 release of DeepCamera_Android.

    Install mobile app to receive notification

  5. 1.3DeepCamera on Android 1.3 release2019-04-19 · 2019-04-19 01:55 UTC
    查看更新说明

    To speed up the evaluation of DeepCamera platform, SharpAI Dev Team developed an Application to use Android Camera instead of surveillance camera, remove hardware dependency will speed up the evaluation procedure for developers.

    There would be some issues caused by Camera quality on the device, it always has better result if replace Android camera to surveillance camera but still, our Android AI camera is state-of-the-art production leveraging AutoML for Edge devices.

    Following is what you need to do:

    1. Install DeepCamera AI monitor on Android, built from 1.3 release of DeepCamera_Android. https://github.com/SharpAI/DeepCamera/releases/download/1.3/DeepCamera_1.3.apk
    2. Install mobile app to receive notification, name/labelling people(Beta test) Android: https://github.com/SharpAI/DeepCamera/releases/download/v1.2.1/sharpai-2.2.67-20190122181044.apk iOS: https://testflight.apple.com/join/8LXGgu3q

    Release Note

    Known Issue

    • After system setup, if the camera preview doesn't show up, you just need restart the application.
    • If system setup failed, need clear the data of application and run again.

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    🛡️ Introducing SharpAI Aegis — Desktop App for DeepCamera

    Use DeepCamera's AI skills through a desktop app with LLM-powered setup, agent chat, and smart alerts — connected to your mobile via Discord / Telegram / Slack.

    SharpAI Aegis is the desktop companion for DeepCamera. It uses LLM to automatically set up your environment, configure camera skills, and manage the full AI pipeline — no manual Docker or CLI required. It also adds an intelligent agent layer: persistent memory, agentic chat with your cameras, AI video generation, voice (TTS), and conversational messaging via Discord / Telegram / Slack.

    📦 Download SharpAI Aegis →


    🗺️ Roadmap

    • Skill architecture — pluggable SKILL.md interface for all capabilities
    • Skill Store UI — browse, install, and configure skills from Aegis
    • AI/LLM-assisted skill installation — community-contributed skills installed and configured via AI agent
    • GPU / NPU / CPU (AIPC) aware installation — auto-detect hardware, install matching frameworks, convert models to optimal format
    • Hardware environment layer — shared env_config.py for auto-detection + model optimization across NVIDIA, AMD, Apple Silicon, Intel, and CPU
    • Skill development — 19 skills across 10 categories, actively expanding with community contributions

    🧩 Skill Catalog

    Each skill is a self-contained module with its own model, parameters, and communication protocol. See the Skill Development Guide and Platform Parameters to build your own.

    CategorySkillWhat It DoesStatus
    Detectionyolo-detection-2026Real-time 80+ class detection — auto-accelerated via TensorRT / CoreML / OpenVINO / ONNX✅
    yolo-detection-2026-coral-tpuGoogle Coral Edge TPU — ~4ms inference via USB accelerator (LiteRT)✅
    yolo-detection-2026-openvinoIntel NCS2 USB / Intel GPU / CPU — multi-device via OpenVINO (architecture)🧪
    face-detection-recognitionFace detection & recognition — identify known faces from camera feeds📐
    license-plate-recognitionLicense plate detection & recognition — read plate numbers from camera feeds📐
    Analysishome-security-benchmark143-test evaluation suite for LLM & VLM security performance✅
    Privacydepth-estimationReal-time depth-map privacy transform — anonymize camera feeds while preserving activity✅
    Segmentationsam2-segmentationInteractive click-to-segment with Segment Anything 2 — pixel-perfect masks, point/box prompts, video tracking✅
    Annotationdataset-annotationAI-assisted dataset labeling — auto-detect, human review, COCO/YOLO/VOC export for custom model training✅
    Trainingmodel-trainingAgent-driven YOLO fine-tuning — annotate, train, export, deploy📐
    Automationmqtt · webhook · ha-triggerEvent-driven automation triggers📐
    Integrationshomeassistant-bridgeHA cameras in ↔ detection results out📐

    ✅ Ready · 🧪 Testing · 📐 Planned

    Registry: All skills are indexed in skills.json for programmatic discovery.

    Detection & Segmentation Skills

    Detection and segmentation skills process visual data from camera feeds — detecting objects, segmenting regions, or analyzing scenes. All skills use the same JSONL stdin/stdout protocol: Aegis writes a frame to a shared volume, sends a frame event on stdin, and reads detections from stdout. Every detection skill is interchangeable from Aegis's perspective.

    graph TB
        CAM["📷 Camera Feed"] --> GOV["Frame Governor (5 FPS)"]
        GOV --> |"frame.jpg → shared volume"| PROTO["JSONL stdin/stdout Protocol"]
    
        PROTO --> YOLO["yolo-detection-2026"]
        PROTO --> CORAL["yolo-detection-2026-coral-tpu"]
        PROTO --> OV["yolo-detection-2026-openvino"]
    
        subgraph Backends["Skill Backends"]
            YOLO --> ENV["env_config.py auto-detect"]
            ENV --> TRT["NVIDIA → TensorRT"]
            ENV --> CML["Apple Silicon → CoreML"]
            ENV --> OVIR["Intel → OpenVINO IR"]
            ENV --> ONNX["AMD / CPU → ONNX"]
    
            CORAL --> LITERT["ai-edge-litert + libedgetpu"]
            LITERT --> TPU["Coral USB → Edge TPU delegate"]
            LITERT --> CPU1["No TPU → CPU fallback"]
    
            OV --> OVSDK["OpenVINO SDK"]
            OVSDK --> NCS2["Intel NCS2 USB"]
            OVSDK --> IGPU["Intel iGPU / Arc"]
            OVSDK --> CPU2["CPU fallback"]
        end
    
        YOLO --> |"stdout: detections"| AEGIS["Aegis IPC → Live Overlay + Alerts"]
        CORAL --> |"stdout: detections"| AEGIS
        OV --> |"stdout: detections"| AEGIS
    
    • Unified protocol — each skill creates its own Python venv or Docker container, but Aegis sees the same JSONL interface regardless of backend
    • Coral TPU uses ai-edge-litert (LiteRT) with the libedgetpu delegate — supports Python 3.9–3.13 on Linux, macOS, and Windows
    • Same output — Aegis sees identical JSONL from all skills, so detection overlays, alerts, and forensic analysis work with any backend
    LLM-Assisted Skill Installation

    Skills are installed by an autonomous LLM deployment agent — not by brittle shell scripts. When you click "Install" in Aegis, a focused mini-agent session reads the skill's SKILL.md manifest and figures out what to do:

    1. Probe — reads SKILL.md, requirements.txt, and package.json to understand what the skill needs
    2. Detect hardware — checks for NVIDIA (CUDA), AMD (ROCm), Apple Silicon (MPS), Intel (OpenVINO), or CPU-only
    3. Install — runs the right commands (pip install, npm install, system packages) with the correct backend-specific dependencies
    4. Verify — runs a smoke test to confirm the skill loads before marking it complete
    5. Determine launch command — figures out the exact run_command to start the skill and saves it to the registry

    This means community-contributed skills don't need a bespoke installer — the LLM reads the manifest and adapts to whatever hardware you have. If something fails, it reads the error output and tries to fix it autonomously.

    🚀 Getting Started with SharpAI Aegis

    The easiest way to run DeepCamera's AI skills. Aegis connects everything — cameras, models, skills, and you.

    • 📷 Connect cameras in seconds — add RTSP/ONVIF cameras, webcams, or iPhone cameras for a quick test
    • 🤖 Built-in local LLM & VLM — llama-server included, no separate setup needed
    • 📦 One-click skill deployment — install skills from the catalog with AI-assisted troubleshooting
    • 🔽 One-click HuggingFace downloads — browse and run Qwen, DeepSeek, SmolVLM, LLaVA, MiniCPM-V
    • 📊 Find the best VLM for your machine — benchmark models on your own hardware with HomeSec-Bench
    • 💬 Talk to your guard — via Telegram, Discord, or Slack. Ask what happened, tell it what to watch for, get AI-reasoned answers with footage.

    🎯 YOLO 2026 — Real-Time Object Detection

    State-of-the-art detection running locally on any hardware, fully integrated as a DeepCamera skill.

    YOLO26 Models

    YOLO26 (Jan 2026) eliminates NMS and DFL for cleaner exports and lower latency. Pick the size that fits your hardware:

    ModelParamsLatency (optimized)Use Case
    yolo26n (nano)2.6M~2msEdge devices, real-time on CPU
    yolo26s (small)11.2M~5msBalanced speed & accuracy
    yolo26m (medium)25.4M~12msAccuracy-focused
    yolo26l (large)52.3M~25msMaximum detection quality

    All models detect 80+ COCO classes: people, vehicles, animals, everyday objects.

    Hardware Acceleration

    The shared env_config.py auto-detects your GPU and converts the model to the fastest native format — zero manual setup:

    Your HardwareOptimized FormatRuntimeSpeedup vs PyTorch
    NVIDIA GPU (RTX, Jetson)TensorRT .engineCUDA3-5x
    Apple Silicon (M1–M4)CoreML .mlpackageANE + GPU~2x
    Intel (CPU, iGPU, NPU)OpenVINO IR .xmlOpenVINO2-3x
    AMD GPU (RX, MI)ONNX RuntimeROCm1.5-2x
    Any CPUONNX RuntimeCPU~1.5x
    Google Coral USB AcceleratorEdge TPU .tfliteai-edge-litert + libedgetpu~4ms flat

    Aegis Skill Integration

    Detection runs as a parallel pipeline alongside VLM analysis — never blocks your AI agent:

    Camera → Frame Governor → detect.py (JSONL) → Aegis IPC → Live Overlay
                    5 FPS           ↓
                              perf_stats (p50/p95/p99 latency)
    
    • 🖱️ Click to setup — one button in Aegis installs everything, no terminal needed
    • 🤖 AI-driven environment config — autonomous agent detects your GPU, installs the right framework (CUDA/ROCm/CoreML/OpenVINO), converts models, and verifies the setup
    • 📺 Live bounding boxes — detection results rendered as overlays on RTSP camera streams
    • 📊 Built-in performance profiling — aggregate latency stats (p50/p95/p99) emitted every 50 frames
    • ⚡ Auto start — set auto_start: true to begin detecting when Aegis launches

    📖 Full Skill Documentation →

    🔒 Privacy — Depth Map Anonymization

    Watch your cameras without seeing faces, clothing, or identities. The depth-estimation skill transforms live feeds into colorized depth maps using Depth Anything v2 — warm colors for nearby objects, cool colors for distant ones.

    Camera Frame ──→ Depth Anything v2 ──→ Colorized Depth Map ──→ Aegis Overlay
       (live)          (0.5 FPS)           warm=near, cool=far      (privacy on)
    
    • 🛡️ Full anonymization — depth_only mode hides all visual identity while preserving spatial activity
    • 🎨 Overlay mode — blend depth on top of original feed with adjustable opacity
    • ⚡ Rate-limited — 0.5 FPS frontend capture + backend scheduler keeps GPU load minimal
    • 🧩 Extensible — new privacy skills (blur, pixelation, silhouette) can subclass TransformSkillBase

    Runs on the same hardware acceleration stack as YOLO detection — CUDA, MPS, ROCm, OpenVINO, or CPU.

    📖 Full Skill Documentation → · 📖 README →

    📊 HomeSec-Bench — How Secure Is Your Local AI?

    HomeSec-Bench is a 143-test security benchmark that measures how well your local AI performs as a security guard. It tests what matters: Can it detect a person in fog? Classify a break-in vs. a delivery? Resist prompt injection? Route alerts correctly at 3 AM?

    Run it on your own hardware to know exactly where your setup stands.

    AreaTestsWhat's at Stake
    Scene Understanding35Person detection in fog, rain, night IR, sun glare
    Security Classification12Telling a break-in from a raccoon
    Tool Use & Reasoning16Correct tool calls with accurate parameters
    Prompt Injection Resistance4Adversarial attacks that try to disable your guard
    Privacy Compliance3PII leak prevention, illegal surveillance refusal
    Alert Routing5Right message, right channel, right time

    Results: Local vs. Cloud vs. Hybrid

    Running on a Mac M1 Mini 8GB: local Qwen3.5-4B scores 39/54 (72%), cloud GPT-5.2 scores 46/48 (96%), and the hybrid config reaches 53/54 (98%). All 35 VLM test images are AI-generated — no real footage, fully privacy-compliant.

    📄 Read the Paper · 🔬 Run It Yourself · 📋 Test Scenarios


    📦 More Applications

    These applications use the sharpai-cli Docker-based workflow. For the modern experience, use SharpAI Aegis.

    ApplicationCLI CommandPlatforms
    Person Recognition (ReID)sharpai-cli yolov7_reid startJetson/Windows/Linux/macOS
    Person Detectorsharpai-cli yolov7_person_detector startJetson/Windows/Linux/macOS
    Facial Recognitionsharpai-cli deepcamera startJetson/Windows/Linux/macOS
    Local Facial Recognitionsharpai-cli local_deepcamera startWindows/Linux/macOS
    Screen Monitorsharpai-cli screen_monitor startWindows/Linux/macOS
    Parking Monitorsharpai-cli yoloparking startJetson AGX
    Fall Detectionsharpai-cli falldetection startJetson AGX

    📖 Detailed setup guides →

    Tested Devices
    • Edge: Jetson Nano, Xavier AGX, Raspberry Pi 4/8GB
    • Desktop: macOS, Windows 11, Ubuntu 20.04
    • MCU: ESP32 CAM, ESP32-S3-Eye
    Tested Cameras
    • RTSP: DaHua, Lorex, Amcrest
    • Cloud: Blink, Nest (via Home Assistant)
    • Mobile: IP Camera Lite (iOS)

    architecture

    Complete Feature List →

    🤝 Support & Community

    Contributions