rea
Reverse engineer anything with agents, from app behavior down to native binaries.
- 474k
- TypeScript
- MIT
- 25 min ago
Reproducible C++ development toolkit for reCamera 2002 (SG200X): contracts, offline pipeline, deploy, evidence, and a host-side live viewer.
Repo Seeed-Projects/recamera-2002-cpp-dev, read from GitHub 10 h ago. Seeed-Projects has not joined Take My Repo.
Seeed-Projects/recamera-2002-cpp-dev is a public repo on GitHub by Seeed-Projects. Reproducible C++ development toolkit for reCamera 2002 (SG200X): contracts, offline pipeline, deploy, evidence, and a host-side live viewer. It declares the Apache-2.0 license on GitHub. It is written mainly in Python, has 0 stars and last changed on 2026-11-12. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-22.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
From a one-sentence requirement to a clickable live view.
A reproducible C++ development toolchain for the reCamera 2002 (SG200X): declarative contracts, staged commands, offline-first validation, and verifiable evidence.
Maintained by Seeed Studio · License Apache-2.0 · Version 0.1.1 Supported reCamera 2002 · OS >= 0.2.4
For most embedded-vision projects the cost is not in writing code but in "inconsistent environments, steps that cannot be reproduced, and results that cannot be re-checked". This toolchain turns those three into engineering constraints:
demo.json, and build,
deploy, and scoring all follow the contract; missing fields fail at the
offline stage instead of waiting for the device to complain.not_run, never faking
success with "the process came up".LIVE_URL.static → offline → host-baseline → device-upload → device-run → task-quality, with each tier's what-it-proves
and what-it-does-not-prove fixed in the spec.127.0.0.1 only by default, passwords
travel only through environment variables, and stopping services requires
explicit authorization.| Stage | Command | Output |
|---|---|---|
| Scaffold | new_demo.py |
A workspace that passes offline validation immediately after generation |
| Model | fetch_models.py / convert_model.py |
Official models (SHA-256 verified) or ONNX → .cvimodel |
| Build | build_demo.py |
RISC-V ELF + toolchain lock + artifact hashes |
| Smoke test | smoke_demo.py |
A host-logic verification report without a device |
| Package | package_demo.py |
Deterministic .tar.gz + files.sha256 |
| Device | probe_device.py / deploy_demo.py / diagnose_demo.py |
Device inventory, deploy/start-stop, failure diagnosis |
| Live preview | launch_demo.py / serve_demo.py |
Browser live view + detection overlay + parameter adjustment + logs |
| Acceptance | capture_evidence.py / evaluate_demo.py / record_demo.py |
Standard evidence, quality-gate report, reusable record |
| Item | Support |
|---|---|
| Device | reCamera 2002 (SG200X); OS >= 0.2.4 |
| Languages | C / C++ (SDK-free host smoke tests; SDK linking is built inside the sscma-example-sg200x tree) |
| Model format | .cvimodel (TPU-MLIR / CVI) |
| Host side | Linux / macOS (SDK builds and TPU-MLIR require Linux or Docker/VM); Windows via WSL2 |
| Not applicable | reCamera Pro / RV1126B / RKNN (please use procode or recamera-pysdk) |
2002w, HQ PoE, and Gimbal are unverified; versions below OS 0.2.4 are outside the supported range. When using these combinations, reports must be marked
not_run— do not write unverified as failed or as success.
Copy or symlink the directory into the matching agent's skills directory,
keeping the directory name recamera-2002-cpp-dev. The same directory can
serve multiple agents at once.
git clone <repo-url> ~/src/ai-skills
# Claude Code
cp -r ~/src/ai-skills/skills/recamera-2002-cpp-dev ~/.claude/skills/
# Codex
cp -r ~/src/ai-skills/skills/recamera-2002-cpp-dev ~/.codex/skills/
# Gemini CLI (if used)
cp -r ~/src/ai-skills/skills/recamera-2002-cpp-dev ~/.gemini/skills/
You can also git clone <repo-url> ~/.claude/skills/recamera-2002-cpp-dev
directly, then symlink to the other agent directories as needed.
Cross-agent conventions:
SKILL.md; the frontmatter uses only name +
description.agents/openai.yaml; Claude Code ignores that
file.$recamera-2002-cpp-dev by default;
to allow implicit triggering, set allow_implicit_invocation to true.| Dependency | Purpose | Required |
|---|---|---|
| Python 3.10+ | All host-side scripts (standard library only) | Required |
| SSH access to the reCamera 2002 | Deploy, probe, evidence | Required for device stages |
| Xuantie GCC 10.2.0 + SG200X SDK | Cross-compilation | Required for the build stage |
TPU-MLIR + onnx |
Custom model conversion | Optional |
ffmpeg / Chrome |
Video and WebUI evidence | Optional |
The device is connected directly over USB/RNDIS by default at address
192.168.42.1, SSH user recamera. The password is read only from an
environment variable:
export RECAMERA_PASSWORD='<device password>'
Scripts use OpenSSH SSH_ASKPASS by default, so the password never enters
argv, the process list, or reports; with an SSH key already configured you can
use --no-password.
# Generate a workspace
python3 scripts/new_demo.py --name my_demo --task detection --out ~/reCamera_demo
# Generate a Live workspace (adds the UDP transport skeleton)
python3 scripts/new_demo.py --name my_live --task detection --live udp --out ~/reCamera_demo
# The five-step offline chain
python3 scripts/validate_demo.py --demo-dir ~/reCamera_demo/my_demo
python3 scripts/build_demo.py --demo-dir ~/reCamera_demo/my_demo
python3 scripts/smoke_demo.py --demo-dir ~/reCamera_demo/my_demo
python3 scripts/package_demo.py --demo-dir ~/reCamera_demo/my_demo
The generated workspace validates immediately and ships a smoke.sh that runs
on the host. --live udp replaces src/main.c with the C++ src/main.cpp
and layers on the UDP/H.264 transport.
python3 scripts/launch_demo.py --demo-dir ~/reCamera_demo/my_live \
--host <device-ip>
# LIVE_URL=http://127.0.0.1:8090/?token=...
By default it is reachable only from the local machine. To expose it for LAN viewing, do so explicitly:
python3 scripts/launch_demo.py --demo-dir ~/reCamera_demo/my_live \
--host <device-ip> --bind 0.0.0.0 --allow-actions --allow-service-stop
# LIVE_URL=http://<host-ip>:8090/?token=...
The three switches are off by default and mean exactly what they say:
| Switch | Effect | Risk |
|---|---|---|
--bind 0.0.0.0 |
Exposes the UI to the LAN | No TLS — trusted networks only |
--allow-actions |
Lets the page trigger install/start/stop | The page can operate the device |
--allow-service-stop |
Allows stopping Node-RED/Supervisor | The device Web UI and Studio go down with it |
launch_demo.pyonly produces a real picture for demos whose camera/inference pipeline is implemented. With only the transport skeleton the UI shows "demo skeleton" and the status isplaceholder— that is not a detection success.
python3 scripts/serve_demo.py --demo-dir ~/reCamera_demo/my_live \
--device-host <device-ip> --open
The page shows four kinds of information: live view, detection/geometry overlay, model parameters, and device logs. Parameters are delivered over the UDP control channel and take effect at the frame boundary — no process restart.
Each demo directory is declared solely by demo.json; validate_demo.py,
build_demo.py, and deploy_demo.py all follow it.
{
"schema_version": 1,
"name": "hello_cpp",
"version": "1.0.0",
"device": {"model": "reCamera 2002", "os_min": "0.2.4"},
"build": {"kind": "cpp", "source_dir": "src", "sources": ["main.c"], "binary": "hello_cpp"},
"runtime": {
"executable": "hello_cpp", "args": [], "env": {}, "sudo": false,
"timeout_s": 10, "expect_stdout": ["hello"]
},
"evaluation": {"task": "custom", "thresholds": {}},
"model": null,
"inputs": {"camera": false, "video": false, "images": false},
"smoke": {"kind": "host-logic", "command": ["sh", "smoke.sh"],
"timeout_s": 10, "expect_stdout": ["self-test ok"]}
}
The fixed contracts and lock files live in configs/ and schemas/:
| File | Contents |
|---|---|
configs/device-contract.json |
Device capabilities, paths, service whitelist, camera arbitration |
configs/evaluation-contract.json |
Default quality thresholds and dataset requirements per task |
configs/toolchain.lock.json |
Verified GCC minimums and search order |
configs/model-assets.lock.json |
Official model URL / SHA-256 / size / license |
configs/wiki-snapshot.lock.json |
Upstream wiki snapshot date and page list |
schemas/demo.schema.json |
Machine-checkable schema for demo.json |
schemas/recipe.schema.json |
Model conversion recipe |
schemas/report.schema.json |
Six-stage report structure |
Record differences against a real device as drift with probe_device.py — do
not edit the contracts in place.
| Purpose | Default | Override |
|---|---|---|
| Demo workspace | ~/reCamera_demo/<demo>/ |
new_demo.py --out, --demo-dir on each script |
| Measured records | ~/.local/share/recamera-2002-cpp-dev/demo-records.md |
XDG_DATA_HOME / RECAMERA_DATA_DIR / --records |
| SG200X SDK | $SG200X_SDK_PATH |
--sdk-root, SG200X_SDK_PATH |
| RISC-V toolchain | $TOOLCHAIN_BIN → path inside the SDK → ~/host-tools/... → PATH |
--toolchain-bin, TOOLCHAIN_BIN |
| TPU-MLIR | $TPU_MLIR_PATH → ~/tpu-mlir |
--tpu-mlir-root, TPU_MLIR_PATH |
Device-side paths come in two kinds — do not mix them:
/userdata/demos/<demo>/ (staging is
/userdata/.demo-stage/)./home/recamera/<demo>/, used only for
comparison against the upstream docs — not this toolchain's install
location.The runtime libraries are fixed at
/mnt/system/lib:/mnt/system/usr/lib:/mnt/system/usr/lib/3rd, and service
scripts live in /etc/init.d/S*. Inside Docker, /workspace/tpu-mlir is a
container mount point.
recamera-2002-cpp-dev/
├── SKILL.md # Agent entry point: boundaries, pipeline lanes, command table
├── workflows/ # End-to-end flows: full acceptance / one-sentence LIVE_URL delivery
├── references/ # Read on demand: contracts, evaluation, evidence, tool manuals
│ ├── doc-router.md
│ └── tools/ # scaffold / models / build / deploy / serve ...
├── configs/ # Device/evaluation/toolchain/model/wiki locks
├── schemas/ # demo.json / recipe / report schema
├── templates/ # cpp / cmake / script / live / live-ui
├── scripts/ # 16 CLI + the devkit library
│ └── devkit/ # contracts / transport / artifacts / reports / schema
├── tests/ # Offline pytest regression suite
├── examples/ # Minimal manifest examples + community records
└── knowhubs/reCamera_KnowHub/ # Device knowledge base (provenance and licensing in NOTICE)
python3 scripts/fetch_models.py --list
python3 scripts/fetch_models.py --name yolo11n --out ~/reCamera_demo/my_demo/models
Downloads come only from the Seeed-hosted URLs recorded in
configs/model-assets.lock.json, with size and SHA-256 verified before
writing. Model licenses and attribution are in that file's license field;
the repository does not distribute model files.
python3 scripts/convert_model.py check-env
python3 scripts/convert_model.py inspect model.onnx
python3 scripts/convert_model.py convert --onnx model.onnx --recipe recipe.json \
--quant i8 --dataset calibration.txt --out build/model-i8 --sample held-out.jpg
Conversion requires an external TPU-MLIR environment (inspect additionally
needs onnx). A successful conversion only proves it compiled — it does not
prove accuracy; accuracy must go through the fixed-input quality gate of
evaluate_demo.py.
| Level | Produced by | What you may claim | What you may not claim |
|---|---|---|---|
static |
validate_demo.py |
Contract/structure/hash correctness | Compiles, runs |
offline |
build_demo.py |
The artifact is a RISC-V ELF with locked hashes | The device can load it |
host-baseline |
Official Python/NVIDIA baseline | The baseline's result on fixed inputs | On-device behavior |
device-upload |
deploy_demo.py upload/install |
Files arrived with matching hashes | Process start |
device-run |
deploy_demo.py start/verify |
Process, logs, and markers match | Precision/recall |
task-quality |
evaluate_demo.py |
Quality-gate conclusion on fixed inputs | Generalization, real-time performance |
F1 >= 0.60 (classification/OCR/
segmentation/pose default to >= 0.60), and the dataset must provide
eval/input/manifest.json recording source, version, license, and sample
selection.capture_evidence.py --source live --session <serve_demo session directory>.RECAMERA_PASSWORD;
scripts use SSH_ASKPASS or sshpass -e — never in argv, never in reports.127.0.0.1:8090; LAN access requires an
explicit --bind 0.0.0.0 and automatically demands a token. There is no
TLS — never expose it to the public internet.--allow-service-stop, and
services must be restored after testing.sshd, networking, or dhcp services.Sharing a LIVE_URL means sharing that session's access token; send it only
to trusted people and run launch_demo.py --stop when done.
probe_device.py / capture_evidence.py; items not executed are marked
not_run.build_demo.py's cpp/cmake modes cover only SDK-free host smoke tests;
real camera/NPU demos that link sscma-micro should be built inside the
sscma-example-sg200x SDK tree.new_demo.py --live udp only generates the transport skeleton
(live.implemented=false); camera and inference code are wired in per
references/tools/device-pipeline.md,
and until then the UI clearly shows "demo skeleton".python3 -m pytest tests -q # offline regression
python3 scripts/check_knowledge.py # structure/links/contracts/locks/secrets
python3 scripts/check_knowledge.py --online # upstream wiki branch drift
python3 scripts/check_knowledge.py --update-lock
Maintenance rules:
tests/ and
references/scripts.md.configs/device-contract.json's os.minimum / tested.schemas/, templates/, and
the corresponding tests.SKILL.md.The code, scripts, templates, and original documentation in this repository are licensed under the Apache License, Version 2.0 — see LICENSE.
templates/live-ui/vendor/jmuxer.min.js is MIT; its license is at
templates/live-ui/vendor/LICENSE.jmuxer..cvimodel model files are not distributed with
this repository.Seeed Studio · reCamera 2002 C++ Dev Toolkit · v0.1.1
Seeed-Projects/recamera-2002-cpp-dev is a public repo on GitHub by Seeed-Projects. Reproducible C++ development toolkit for reCamera 2002 (SG200X): contracts, offline pipeline, deploy, evidence, and a host-side live viewer.
It declares the Apache-2.0 license on GitHub.
Its maker tagged it for macOS, Windows and Linux, or as Docker or cross-platform. That is declared by the maker; Take My Repo has not tested it.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-11-12. GitHub counts 0 open issues and pull requests. Take My Repo does not judge from that whether it is maintained.
Reverse engineer anything with agents, from app behavior down to native binaries.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
High-Performance server for NATS.io, the cloud and edge native messaging system.
A simple and easy-to-use library to enjoy videogames programming
Sub-50mb agentic, voice and vision intelligence for consumer devices.

ncnn is a high-performance neural network inference framework optimized for the mobile platform


This repository provides a comprehensive step-by-step guide to building AI projects using the Raspberry Pi AI Kit.

The jetson-examples repository by Seeed Studio offers a seamless, one-line command deployment to run vision AI and Generative AI models on the NVIDIA Jetson platform.
A solution that makes it easy to connect ESP32 devices to Home Assistant, provided by Seeed Studio.
Beginner's Guide to reComputer Jetson

Official repository for the ESP-FLY DIY Quadcopter Kit (XIAO ESP32-S3). A Seeed Studio x Max Imagination Co-Create Project.
This page is also available as structured data, with the same sources and dates.
/api/v1/resources/gh/Seeed-Projects/recamera-2002-cpp-devTake My Repo has not tested this on your machine. Requirements come from the project's own documentation.