宿主机需装好 Git 和可用的 Docker,Windows 要用 Docker Desktop 的 Linux 容器模式;每个平台必须使用为该目标芯片生成的模型产物(.nn/.rknn/.onnx),不能混用;Rockchip 构建需在 Linux x86_64 的 Bash 下先 pull 共享构建镜像;RV1126B 不支持 VLM,Protected 构建也不支持 RV1126B。

cosmo-edge
cosmo-wander-aiApache-2.0活跃维护面向视频分析与端侧 VLM 的 C++ 边缘推理引擎,支持算能、瑞芯微 RKNN 和 x86 平台,自带可视化编排、实时 OSD、事件与可复现基准。
Production-grade C++ edge AI engine for video analytics and on-device VLM across Sophon, Rockchip RKNN, and x86, with visual orchestration, real-time OSD, events, and reproducible benchmarks.
git clone https://github.com/cosmo-wander-ai/cosmo-edge.git
cd cosmo-edge
./scripts/docker-compose.sh -f docker-compose.sophon.yml run --rm cosmo-sophon-package --chip bm1688按平台区分:Sophon BM1688/CV186X 用 BMRT,Rockchip RK3576/RV1126B 用 RKNN(RK3576 另含 RKLLM),x86 Linux/Windows 用 ONNX Runtime;x86 走 Docker 开发路径,Apple Silicon macOS 为 amd64 模拟的 Preview。README 未给出具体显存要求。
把视频 AI 模型变成可部署的边缘应用的 C++ 引擎,统一编排 Sophon、瑞芯微与 x86 平台
面向视频分析与端侧 VLM 的 C++ 边缘推理引擎,支持算能、瑞芯微 RKNN 和 x86 平台,自带可视化编排、实时 OSD、事件与可复现基准。
核心能力
- 用浏览器可视化编排模型、规则、事件与输出动作
- 支持 VLM 提示词判断与 GroundingDINO 开放词表检测
- 内置检测、分类、跟踪、区域、计数、OSD 与告警快照
- 通过 REST、WebSocket、MQTT、HTTP webhook 交付结构化事件
- 按目标芯片分别构建 Sophon BMRT、RKNN 与 ONNX Runtime 后端
容易踩的坑
- v1.2.0CosmoEdge 1.2.0最新正式版2026-11-05 · 2026-11-05 05:53 UTC
CosmoEdge 1.2.0
CosmoEdge 1.2.0 includes four chip-specific public Open packages and the x86 Docker source path. Package checks and the BM1688 device upgrade and recovery result below are bound to this release's recorded candidate; other platform device results and new performance claims are outside this run.
Main changes
- Camera access and management APIs: ONVIF discovery, manual registration, authentication, and video Profile selection; GB28181 registration, catalog queries, and playback with independently selectable TCP/UDP signaling and video transport. ONVIF currently excludes PTZ, audio, event subscriptions, and recording searches; GB28181 implements a SIP subset for directly connected devices, with compatibility still requiring validation in each deployment. Management v1 supports versioned model, scene, channel, schedule, and task delivery, resumable uploads, content deduplication, operation recovery, explicit start/stop, and status readback. See ONVIF Access, GB28181 Access, and the Management API.
- Laya-V, YOLO26, and OBB: Native BM1688 Laya-V integration adds alarm review, multiple questions per image/video ROI, persisted results, and model-name overlays. YOLO26 raw-output and oriented-box decoding, geometry propagation, and model templates are also included in source. A template does not establish that matching weights are installed or that every platform can run the model. See the Model Reference for model and platform requirements.
- Console layout and themes: Updated management pages, channel tasks, event details, live views, and flow-editor layouts, with persistent light, dark, and system appearance settings, a classic blue color scheme, and live overlay diagnostics.
- Alarm-image privacy and output linkage: Opt-in masking processes new alarm scene images and target crops before encoding, storage, and delivery. Missing required detection evidence or processing failures preserve the event while withholding affected images. Preview, recordings, historical images, images sent to external VLM services, and library enrollment images are outside this scope. Output linkage provides logical channels and hold times; repeated alarms on the same channel extend the hold until reset. Physical output requires board GPIO mapping, initialization, and write access. See Configuration.
- Alarm records and annotations: Detection, face/body, and vehicle alarm records can be deleted individually or by current-page selection, with associated media cleanup; events still being recorded are protected. Alarm targets show class labels and measured confidence in preview and event views.
- Image workflows and comparisons: Image workflows without region configuration, structured business results, target and library match details, face/workwear library identification, and pair comparison. Each side of a pair must contain exactly one valid target; the result can be a 0–100 similarity score or a threshold decision. Scores are not identity probabilities or probabilities of matching workwear styles. Matching model weights are required. See Image Analysis and the Image Detection API.
- Main fixes:
- v1.1.0CosmoEdge 1.1.02026-08-24 · 2026-08-24 17:24 UTC
查看更新说明
CosmoEdge 1.1.0
The release target is commit
8e43b81083536e95dbce5fcaff08277b01adc3d1(tree69a9147c3a433010c3f8ccdac6a5770b8d091ea6). The four device archives below were built from package-source commitded6519a641ace9b1e9451ee1d62b77de9c8c4fa(treed97f5e419014e4459bac559498d43883ef184eec). The intervening merged change is limited to release notes, API documentation, and the PR build gate; it changes no runtime or package input, and the archive hashes remain unchanged. All release-scoped gates are closed.English release notes · 简体中文发布说明
CosmoEdge 1.1 expands the common video-ingest, visual-orchestration, event, and operations workflow across BM1688, CV186X, RK3576, RV1126B, and x86. Apple Silicon macOS receives a deliberately scoped Docker Preview.
Platform deliveries
Platform v1.1 delivery Boundary Sophon BM1688 Target-specific Open installation archive Public v1.0.0 -> v1.1.0in-place upgrade path; plain models and no device authorization.Sophon CV186X Independent target-specific Open installation archive First public CV186X release; fresh installation, not a public v1.0 upgrade. Rockchip RK3576 Target-specific cross-built archive Includes RKNN, MPP/RGA, and RKLLM runtime path; first public RK3576 release. Rockchip RV1126B Target-specific cross-built archive with manifested community example models Same release tier as RK3576; no RKLLM. Bundled Ultralytics-derived examples are AGPL-3.0-only community assets. x86 Linux / Windows Source release and Docker Compose runtime ONNX Runtime CPU with persistent named volumes; no device archive. Apple Silicon macOS scripts/macos-docker-preview.shand isolated Compose profilelinux/amd64emulation for one local-video Preview workflow.Device archive assets
Target Asset Bytes SHA-256 BM1688 cosmo-V1.1.0-5f5eececbe38932ffe5522de8744931f.tar.gz63,031,220 902da7e7a3e5f03b5d0d3e6b887136e7544105f3bcb31762616268cb22bd5cffCV186X cosmo-V1.1.0-59b03c0b96973fa16ecf53e6ed30b5f5.tar.gz63,031,220 edff732afd1c78402a7ac9ec7a906727030bb28f7383076cd8598d0d532e8c49RK3576 cosmo-V1.1.0-980cca8314eba775bd9ef2cab90b6f32.tar.gz52,504,283 923b726c45f34249b2f4c8a7069bef0906a9d408cb9897dce4bbfd390f9118ceRV1126B cosmo-V1.1.0-8d95283a4fb5bac62c4181aa9f31eec9.tar.gz50,362,197 02ba3cd5c6fa6829431e2ae74305e461dab79418a41b690edf2d4aab6f972f71Download
CosmoEdge-v1.1.0-SHA256SUMS,CosmoEdge-v1.1.0-TARGET_CHIP-MAP.tsv, andCosmoEdge-v1.1.0-release-manifest.jsonwith the selected archive. Never reuse a complete package across chips, even when selected model bytes happen to match.Validation status
- Package-source candidate x86 build and tests: PASS (run 32740415479).
- Package-source candidate RK3576/RV1126B package builds, target verification, artifact upload, and locked shared-builder publication: PASS (run 32740415467).
- Package-source candidate BM1688/CV186X native builds, 23-test package-policy suite, 7-test Model Guard suite, and archive verification: PASS.
- Four archive target markers, package contents, SHA-256 values, root
LICENSE/NOTICE, and scoped dependency/platform license bundles: PASS. - Release-target provenance rebind from the package-source commit: PASS. The merged range changes exactly two release-note files, two API-reference pages, and the PR-check workflow; runtime and package-input changes: zero.
- Relative to the superseded
- v1.0.0v1.0.0 — First Stable Release2026-07-03 · 2026-07-03 11:49 UTC
查看更新说明
First stable public release: a security and CI hardening pass plus feature, refactor, and documentation work over the
v0.1.0baseline.Added
tools/scenario-benchcapacity/benchmark tool with pluggable CV/VLM task strategies, multi-task workloads, capacity reporting, VLM inference metrics, a 30s VLM warmup delay, and a workload design doc.- Sophon BM1688 safety-helmet detection algorithm and models.
- x86 preset algorithm pack with ONNX models.
- Error-message i18n infrastructure for the web console.
- Gitee mirror workflow, dual-repo README, and
MIRRORING.md. - Default-password forced-change flow.
- Nightly Sophon build/test workflow and an x86
cosmo-testsCI job.
Changed
- Hardened all GitHub Actions workflows (job timeouts, least-privilege permissions, SHA-pinned actions); pinned the Rust toolchain and frontend Node 22; rewrote
mirror-to-giteeto direct git push with an ssh-keyscan retry. - Renamed
PlatformConstants.htoNnBackendConstants.h; alignedDinoDetectorwithCODING_STYLE.md. - Build: removed redundant wrapper scripts, switched the Sophon compose flow to
run --rm, moved Windows Sophon cross-compilation onto a Docker named volume, correctedCMAKE_BUILD_TYPEcase, fixed vitenode_modules/.binpermissions, switched x86 to a pre-built builder image, and excluded the test video from packages. - Disabled the stdout log callback in production to avoid syslog flooding.
- Localized traffic-statistics dates, the onboarding channel-type hint, and task-run process name/status/algorithm fields; rendered alarm, face, and body-match similarity with consistent decimals.
- Added autocomplete and hidden username fields on auth inputs for accessibility.
- Clarified the public release roadmap in the English and Simplified Chinese README files.
Fixed
- Hardened
util/Execagainst shell injection via an argv-basedexecvpAPI, migrated call sites, and added regression tests. - Guarded
inferAi*Interfacedestructors against nullreuse_obj_. - Checked
bm_dev_requestreturn values in themem::DeviceContextconstructor. - Guarded
nn::HungarianAlgorithm::Solveagainst an empty cost matrix. - Removed a dead null check in the
service::EventNotifierWebSocket close callback and a dead mutex inAlarmRecordServiceImpl. - Reset
SIGPIPEtoSIG_DFLin the child process beforeexecvp. - Fixed the auth handler test by mocking
IsDefaultPassword.
Security
- Pre-release hardening pass: shell-injection guards, null-safety and lifecycle fixes across
infer/mem/nn/service, default-password enforcement, and child-process signal hygiene. - Updated
SECURITY.mdwith supported versions, response SLA, and hardening notes, and unified the vulnerability contact to[email protected].
Docs
SECURITY.mdsupported-versions table, response SLA, and hardening notes.- Interface HTML docs synced with the staticfile i18n versions.
- Sophon build/test CI badge and README badge layout refresh; test video added.
Source code: build from this tag using
docker compose -f docker-compose.x86.yml up -d --build(x86 dev) ordocker-compose -f docker-compose.sophon.yml run --rm cosmo-sophon-package(Sophon BM1688). See the Build Guide.Full changelog:
CHANGELOG.md. - v1.0-videostest-video2026-06-29 · 2026-06-29 07:18 UTC
这个版本没有写更新说明。
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
Turn video AI models into deployable edge applications — a C++ edge AI engine for Sophon, Rockchip, and x86.
Build and operate video analytics, VLM, and event workflows through a consistent orchestration experience. Each platform uses its own runtime, build, and model artifacts.
Start Here · Recent Development · Quick Start · Platforms · Validation · Documentation · 简体中文
https://github.com/user-attachments/assets/23a014a5-d753-432f-8de5-c750bc82d8e2
CosmoEdge goes beyond model serving with a complete application layer for model import, visual orchestration, alarms, and event delivery. The core engine and console in this repository are released under Apache-2.0; certified hardware, commercial preset models, and Model Guard distribution protection have separate boundaries.
Choose Your Starting Point
| Your task | Start here | Project and version |
|---|---|---|
| Deploy video AI applications, configure models, scenes, and alarms | Quick Start · Platforms | Engine and console in this repository; stable v1.2.0 |
| Customize an object detector from your data | CosmoEdge Training Skill | Independent project; published v0.1.0-preview.1, with later revisions on its main |
| Let an AI assistant query alarms, retrieve images, and request confirmed detection start/stop | CosmoEdge Connect | Independent local MCP / WorkBuddy integration; v0.1.0-alpha.1 source preview |
The training Skill and Connect are installed and released separately. See Companion Projects for prerequisites, validation scope, and version links.
Releases and Recent Development
Stable release: v1.2.0. Provides separate Open packages for BM1688, CV186X, RK3576, and RV1126B, plus the x86 Docker development path and Apple Silicon macOS Docker Preview. Download packages from the GitHub Release and check the 1.2 release notes for the platform boundaries and validation results.
Changes since v1.1.0 include:
- Video access: ONVIF discovery and authenticated access, plus GB28181 device management with TCP/UDP signaling and video access.
- Models and visual workflows: YOLO26 and oriented bounding-box (OBB) handling; native BM1688 Laya-V model integration, alarm review, and multi-ROI question configuration for images and video. Implementation and completed validation are described in PR #219.
- Platform integration: Management APIs for versioned resource delivery, resumable uploads, task start/stop, and state readback.
- Alarms and console: Alarm-record deletion, target labels and measured confidence, live overlay diagnostics, and refreshed console layouts and themes.
- Deployment and engineering quality: RK3576 protected-model handling, model-package validation, video-sample event measurement and VLM evaluation tools, and fixes to task recovery, media handling, log retention, and x86 Docker startup. See the 1.2.0 changelog.
Consult each feature's documentation for required models and target platforms. The v1.1 report remains historical evidence for its recorded candidates and workloads; it does not measure v1.2.0.
Choose a Platform
CosmoEdge provides one engine architecture and orchestration experience, but each build selects one inference backend and uses models generated for that target platform. The table distinguishes the v1.2.0 package scope from device validation in this release run.
| Platform | Status | Runtime / model artifact | Current scope and evidence |
|---|---|---|---|
| Sophon BM1688 | v1.2 Open package; device installation, upgrade, and rollback checked | BMRT / .nn | The package-bound device result is recorded in the 1.2 release manifest; prior VLM and workload measurements remain in the v1.1 report |
| Rockchip RK3576 / RV1126B | Separate v1.2 Open packages built and audited | RKNN / target-specific .rknn; RKLLM on RK3576 | No device validation in this release run; RV1126B does not claim VLM support |
| Sophon CV186X | v1.2 Open package built and audited | BMRT / target-specific .nn | No CV186X device validation in this release run |
| x86 Linux / Windows; Apple Silicon macOS | x86 Docker development path; macOS Preview | ONNX Runtime / .onnx | Host-specific results are recorded in the 1.2 release manifest; macOS uses amd64 emulation, not native arm64 performance |
| Sophon BM1684X | Planned | — | Not part of the current release scope |
Quick Start
The commands below clone and build current main. For the stable release, use the v1.2.0 packages, or check out the v1.2.0 tag before building and follow that version's documentation.
Get the Source
The host needs Git and working Docker; Windows uses Docker Desktop's Linux container mode. For a new checkout, run the following. For an existing checkout, enter its root instead:
git clone https://github.com/cosmo-wander-ai/cosmo-edge.git
cd cosmo-edge
Run all commands below at the repository root on the host. Select one group for your host and target chip. Edge-device builds default to Open packages and export artifacts without starting the application on the build host. See the Build Guide for preparation and full steps.
Try locally on x86
No edge hardware is required. The x86 mode uses the same UI and workflow as edge deployments; throughput depends on the CPU.
Linux x86_64 / Bash:
./scripts/docker-compose.sh -f docker-compose.x86.yml up -d --build
Windows x86_64 / PowerShell:
docker compose -f docker-compose.x86.windows.yml up -d --build
Open http://localhost:8080 after startup. Artifacts are exported to build_output/.
Use the Scenario Configuration tutorial to create your first AI detection task.
Apple Silicon macOS Preview
Read the Mac Preview requirements and scope first, then run in the Mac terminal:
./scripts/macos-docker-preview.sh doctor && ./scripts/macos-docker-preview.sh up
./scripts/macos-docker-preview.sh status
Open http://127.0.0.1:8080 locally. Artifacts are in build_output/macos-x86/.
This path uses amd64 emulation for a local, single-video trial.
Build for Sophon
Select the chip, then the host. The script selects the model resource directory automatically. The Linux wrapper selects Compose V2/V1 and requests elevation only when Docker access requires it. The Windows PowerShell entry requires Docker Desktop and Compose V2.
BM1688
Linux x86_64 / Bash:
./scripts/docker-compose.sh -f docker-compose.sophon.yml \
run --rm cosmo-sophon-package --chip bm1688
Windows x86_64 / PowerShell:
.\scripts\build_sophon_package.ps1 -Chip bm1688
Output: build_output/public-runtime/bm1688/.
CV186X
Linux x86_64 / Bash:
./scripts/docker-compose.sh -f docker-compose.sophon.yml \
run --rm cosmo-sophon-package --chip cv186x
Windows x86_64 / PowerShell:
.\scripts\build_sophon_package.ps1 -Chip cv186x
Output: build_output/public-runtime/cv186x/.
Each target directory contains one package, TARGET_CHIP, and SHA256SUMS. Default Open
packages use plaintext models without device authorization. Verify through the
Build Guide, then install through the
Deployment Guide.
Build for Rockchip
On a Linux x86_64 host in Bash, first pull the shared builder:
./scripts/docker-compose.sh -f docker-compose.rockchip.yml pull cosmo-rockchip-package
Then select one target chip.
RK3576
COSMO_TARGET_CHIP=rk3576 ./scripts/docker-compose.sh \
-f docker-compose.rockchip.yml run --rm cosmo-rockchip-package
Output: build_output/rk3576/, using the tracked RK3576 model resources.
RV1126B
COSMO_TARGET_CHIP=rv1126b ./scripts/docker-compose.sh \
-f docker-compose.rockchip.yml run --rm cosmo-rockchip-package
Output: build_output/rv1126b/. Default include automatically generates and verifies the
model overlay from the platform manifest; no manual preparation is needed. See the
Build Guide for default community-model licenses and usage restrictions.
The shared image selects isolated MPP/RGA configurations by chip; only RK3576 packages include RKLLM v1.3.0. Both targets export chip markers, media-runtime markers, and checksums. Verify through the Build Guide, then use the shared installation entry.
Controlled Protected builds support BM1688, CV186X, and RK3576; RV1126B is currently unsupported. See advanced build options for commands and prerequisites. Use CV186X Quick Start for identity checks and first detection, and RK3576 Integration for RKNN model and device boundaries.
What You Can Build
- Real-time video analytics: detection, classification, tracking, zones, counters, OSD, and alarm snapshots.
- Prompt-driven vision: VLM state judgment and GroundingDINO open-vocabulary detection alongside conventional CV pipelines.
- Visual application workflows: connect models, rules, events, and output actions in the browser.
- Edge integrations: operate managed tasks and deliver structured events through REST, WebSocket, MQTT, or HTTP webhooks.
Core Capabilities
| Capability | What it covers | Go deeper |
|---|---|---|
| Native runtime | C++17 engine for multi-channel media, inference scheduling, OSD, tasks, and events | Architecture |
| Visual orchestration | Browser-based pipeline composition, task binding, parameter validation, and live feedback | Pipeline tutorial |
| Inference and media | Platform backends for Sophon, RKNN, and x86; platform-specific builds and model artifacts | Build Guide |
| VLM and DINO | Prompt-based judgment, open-vocabulary detection, and optional VLM review before a detection alarm is reported | VLM Guide |
| Operations and integration | Model management, alarms, event history, REST, WebSocket, MQTT, and webhooks | API Overview |
| Model onboarding and protection | Model conversion, import, validation, and the Open/Protected distribution boundary | Model Porting Guide |
https://github.com/user-attachments/assets/94b9418b-36c8-47b6-a730-ad8f508a6709
https://github.com/user-attachments/assets/212a33a8-e662-4678-9945-02c78d808e4d
Agent-Assisted Development
Already have a model-porting, integration, or UI task? Give your usual coding agent the business goal, available materials, target device or test environment, and acceptance criteria. The repository provides task entry points, examples, checks, and evidence boundaries so the result can include importable artifacts, scoped code changes, and a verifiable conclusion.
Start with Agent-Assisted Development, then use the Model Porting Guide or Contributor Guide for the task at hand.
Validation
CosmoEdge 1.1 multi-platform performance report
The v1.1 report covers BM1688, CV186X, RK3576, and RV1126B. It includes 49 independent small-model case reports for person detection, no-safety-helmet analysis, and a concurrent mixed workload at 5 FPS per business task, a controlled 72-hour dual-CV configured profile, and validated VLM performance for BM1688, CV186X, and RK3576.
- English benchmark index
- 中文基准报告索引
- English primary report (rendered documentation site)
- 72-hour dual-CV report (rendered documentation site)
- Methodology and reproduction
The short-run capacity refresh uses source commit 89c73a7464a81ef378686447d7c1eeb88b988455, tree 6857fbcce72c7af64e6cb23a27e66a405e9df9af, one fixed 1080p24 input, 30-second steps, and the gates recorded in the release manifest. The 72-hour observation uses source commit 44209759f450e96cda265acfa8bc6d17a1138888, tree 5cbdefeaefaf642407356c22c271ccc7d57935b0, and the same controlled input.
| Platform | 72-hour configured channels | Task bindings | Sample coverage | Min / avg FPS | Result |
|---|---|---|---|---|---|
| BM1688 | 8 | 16 | 4316 / 4320 | 4.68 / 5.086 | PASS |
| CV186X | 8 | 16 | 4316 / 4320 | 4.54 / 5.085 | PASS |
| RK3576 | 8 | 16 | 4316 / 4320 | 5.00 / 5.098 | PASS |
| RV1126B | 4 | 8 | 4316 / 4320 | 4.85 / 5.230 | PASS |
These results describe the tested fixed-channel profiles under controlled local-loop input; they are not maximum-capacity or RTSP-resilience measurements. Execution details are documented in the methodology.
Each channel concurrently runs two business tasks across three model stages: person detection has one detector stage, while no-safety-helmet analysis has a detector followed by a classifier.
| Platform | Workload per channel | Model stages/ch | Target FPS/task | Passing channels | Business-task bindings |
|---|---|---|---|---|---|
| BM1688 | Person detection + no-safety-helmet analysis | 3 | 5 | ≥16 | 32/32 |
| CV186X | Person detection + no-safety-helmet analysis | 3 | 5 | ≥8 | 16/16 |
| RK3576 | Person detection + no-safety-helmet analysis | 3 | 5 | ≥8 | 16/16 |
| RV1126B | Person detection + no-safety-helmet analysis | 3 | 5 | ≥4 | 8/8 |
The three VLM platforms use one final protocol: each newly added route completes task-local readiness before a 60-second measurement window, and every active route must pass the executed 80% threshold against the 0.1 FPS-per-channel target. Each platform's fixed candidate package also passed model load, task creation, valid inference, event/alarm output, and task recovery after service restart; these claims do not extend to later rebuilt packages.
| Platform | Target FPS/ch | Last passing channels | First failure |
|---|---|---|---|
| BM1688 | 0.1 | 6 channels | 7-channel FPS ratio 69.5%, below the 80% gate |
| CV186X | 0.1 | 6 channels | 7-channel FPS ratio 69.2%, below the 80% gate |
| RK3576 | 0.1 | 4 channels | 5-channel FPS ratio 69.7%, below the 80% gate |
| RV1126B | — | — | Outside this VLM validation |
The capacity values are exact short-run gate boundaries under the recorded conditions—not maximum-capacity certification or production recommendations. The separate 72-hour table verifies only its configured profile. See the v1.1 benchmark for the complete matrices. Previously published data remains available through one v1.0 historical archive link.
Architecture
+------------------------------------------------------------------+
| Web Console | Visual Orchestration | REST / WebSocket / MQTT |
+--------------------------------+---------------------------------+
|
+--------------------------------v---------------------------------+
| C++ Engine Core |
| Media | Inference | Tasks | Rules | Alarms | Events | Models |
+--------------------------------+---------------------------------+
|
+--------------------------------v---------------------------------+
| Inference and Media Backend Interfaces |
+--------------------+----------------------+----------------------+
| Sophon BMRT/VPU | RKNN + MPP/RGA | ONNX Runtime/FFmpeg |
| BM1688; CV186X | RK3576 | x86 Linux / Windows |
+--------------------+----------------------+----------------------+
One build selects one inference backend. Model artifacts are generated for the target platform, and feature/model coverage and capacity remain platform-specific. The public v1.2.0 packages use the Open profile; Model Guard Protected distribution remains a separate path, including the RK3576 source implementation described in PR #151.
Documentation, Devices, and Community
| Start here | Best for |
|---|---|
| Documentation Home | Full documentation index and learning path |
| Quick Start Guide | First setup and scenario run |
| Scenario Configuration | Building scene-level workflows |
| VLM Guide | Prompt-based visual judgment and events |
| Model Porting Guide | Importing your own model |
| Agent-Assisted Development | Delegating an extension task with verifiable results |
| Companion Projects | Training Skill and Connect / MCP prerequisites and independent versions |
| Changelog | Release history and unreleased main-branch changes |
| Build Guide | x86, Sophon, and RK3576 build/package paths |
| API Overview | REST, WebSocket, MQTT, and webhook integration |
Certified devices add preconfigured acceleration, validated commercial model packages, and dedicated deployment support; they do not unlock separate software features. Devices are available in mainland China from the Taobao store; contact [email protected] for other regions or project support.
Contributions are welcome through scoped bug reports, documentation improvements, scenarios, and integration notes. Read CONTRIBUTING.md before opening a pull request.
GitHub Discussions is the official searchable English Q&A and community-support channel for v1.2, and general reproducible defects belong in GitHub Issues. Users in mainland China can use Gitee Issues for repository access, installation, usage, release downloads, and device-adaptation questions. Code changes and pull requests remain on GitHub; report vulnerabilities privately through SECURITY.md. No Discord channel is operated for this release.
FAQ
Yes. Use x86 developer mode on Linux or Windows. Apple Silicon Macs can use the Docker Preview for the console, pipeline, model-management, and integration workflow with one local video. The Mac path uses amd64 emulation and does not enable Model Guard. Edge NPU hardware is still required for target-platform acceleration and capacity validation.
They expose the same application features and use the same MD5 upgrade lifecycle. Open uses plaintext models without device authorization; Sophon Protected packages can carry encrypted commercial preset models and provisioning tooling that require a device-bound certificate. Application archives themselves are not signed.
Yes. For training from data, use the independent Training Skill. For an existing model, use the model-porting path to validate the tensor, preprocessing, post-processing, target runtime, and business accuracy contract. A model artifact must be generated for the platform where it will run.
v1.2.0 provides Open packages for BM1688, CV186X, RK3576, and RV1126B, with a scoped x86 Docker path and macOS Preview. This release run checked BM1688 installation, upgrade, rollback, and data preservation; other chips received build and package audits. The v1.1 report records earlier measured workloads and does not qualify v1.2.0 capacity. Production sizing still requires validation with your own models, streams, accuracy requirements, and deployment conditions.
License
CosmoEdge is licensed under the Apache License 2.0. Copyright 2026 CosmoEdge Contributors.
An open-source project by Cosmo Wander AI and the CosmoEdge contributors.
Turn video AI models into deployable edge applications.
📦 GitHub remains the development and pull-request source of truth. Gitee automatically mirrors the code and provides release access and a Chinese issue channel for users in mainland China. See MIRRORING.md.