Configure once. Deploy everywhere. A desktop deployment console for Seeed reCamera (SG2002 / eMMC): discover devices, flash in batches, and clone firmware and configuration so every unit ships ready to use.
English · 简体中文
UI preview with sample data; the app shows each device's real IP, model and SN.
The hard part of batch deployment is not writing firmware — it is what comes after: logging into every unit to change the network, install apps and tune parameters. reCameraLab removes that step:
- Firmware is configuration. When exporting, optionally bundle the device's network, login, applications and Supervisor state. Flashing restores it, so every unit matches the golden sample.
- True batch flashing. Select multiple devices, flash 1–8 in parallel, and watch upload / write / verify / reboot progress per unit. One failure does not stop the rest.
- Proof in every byte. Package SHA256, image MD5 read-back and A/B boot-slot verification. Any mismatch aborts immediately; the old firmware still boots.
- Desktop-grade UX. A clean, dense light UI, English / Chinese / Korean, one-click password reveal — no command line required.
- Your data stays local. Credentials, firmware library and logs remain on your machine; nothing is uploaded to a cloud.
| Scenario | Before | With reCameraLab |
|---|---|---|
| Production line | Flash, then configure each unit by hand | Configure one sample → export with config → parallel flash |
| Channel / reseller | Factory defaults; customer configures | Preload network, apps and accounts per project |
| Lab clusters | Repeat model and parameter setup on every unit | Clone once to the whole batch; zero drift |
| RMA replacement | Reconfigure the replacement manually | Flash the same firmware; configuration returns |
| Module | Capabilities |
|---|---|
| Device Library | Auto-scan the /24 of selected NICs; refresh online status every 20 s; USB-NCM direct link (192.168.42.1); manual add; per-device details / single-device flash |
| Firmware Library | Import local OTA / full ZIP packages; fetch official stable builds from GitHub Seeed-Studio/reCamera-OS (pre-releases and drafts excluded); version, source, size and SHA256 at a glance; multi-select delete |
| Batch Flash | Multi-select devices + choose a package; parallel flashing; optional user-data wipe, built-in configuration, original fip/boot backup, app quiesce for faster transfers |
| Export Firmware | Read-only dump of fip / boot / rootfs; optionally bundle /userdata configuration and installed apps into a re-flashable OTA package |
| Log | Full workflow log on disk: scan, connect, write, verify and reboot |
| Trilingual UI | English / Simplified Chinese / Korean; English by default, applied on restart |
flowchart LR
A[Golden sample<br>fully configured] --> B[Export firmware<br>+ device configuration]
B --> C[Batch flash<br>multiple devices]
C --> D[Reboot & verify<br>A/B boot slot]
D --> E[Whole batch<br>identical configuration]
The exported userdata_config.tar.gz contains:
/userdata/.overlay_fs: the overlayfs upper layer for/etc,/home,/usrand more — network, hostname, login settings, installed apps and Node-RED flows;/userdata/local: Supervisor app state, models, camera.conf, add-ons and NAS configuration;- Logs, caches, swap file and browser sessions are excluded automatically.
Flashing applies this configuration by default — no per-unit manual work. If you need a factory-fresh unit instead, enable “Erase user data before flashing (factory reset)”; it is off by default.
Security note: a configuration-carrying package contains
/etc/shadowand SSH host keys. Treat it like a device password and never upload it publicly. This repository and its release assets contain no firmware or user configuration.
| Platform | Package | Notes |
|---|---|---|
| Ubuntu 22.04+ / Debian | recameralab_1.0.2_amd64.deb |
Bundled runtime; sudo apt install ./…deb |
| Windows x86_64 | reCameraLab-1.0.2-windows-x86_64.zip |
Unzip and run reCameraLab.exe |
| macOS Apple Silicon | reCameraLab-1.0.2-macos-arm64.zip |
Unzip and drag to Applications |
Download from Releases.
SHA256 checksums are attached as SHA256SUMS.txt / SHA256SUMS-v1.0.2.txt.
# Ubuntu / Debian
sudo apt install ./recameralab_1.0.2_amd64.deb
recameralabWindows: if SmartScreen appears, choose More info → Run anyway.
macOS: the build is not notarized; right-click → Open, or run
xattr -dr com.apple.quarantine /Applications/reCameraLab.app.
The first launch defaults to English. Go to Settings → Interface language to switch between English / 简体中文 / 한국어; choose “restart now” and the entire UI, dialogs, logs and CLI output switch language.
| English | 简体中文 | 한국어 |
|---|---|---|
![]() |
![]() |
![]() |
Every password and token field has an eye button to reveal the current value.
- SSH as
recamera(default passwordrecamera), escalate withsudo. - Preflight: reCamera model, eMMC partitions, target slot capacity,
/userdatafree space and required tools. - Optionally quiesce the camera app and supervisor for much faster uploads.
- If requested, clear user files before the upload.
- Optionally back up the original
fip/boottodevice-backups/. - Stream the package over an SSH exec channel (not SFTP); verify SHA256 on device.
- Write the inactive rootfs →
fip→boot.emmc; read back and verify MD5 after every image. - Apply the packaged configuration (staged and validated first; a corrupt archive keeps the original configuration).
- Flip the A/B boot slot with
fw_setenv, then reboot. - Wait for a settled device, verify the boot slot and
/etc/issue; a version string mismatch is only a warning.
A/B redundancy: a failed write leaves the original slot bootable; five failed boots automatically roll back.
- OTA:
fip.bin+boot.emmc+rootfs_ext4.emmc+md5sum.txt - Full image: the same three images (may include
META/); MD5 computed locally - Device export: the three system images + optional
userdata_config.tar.gz
Exported packages can be flashed to any same-model unit. Packages exported by
v1.0.1 do not contain the /userdata configuration archive; re-export once with
v1.0.2 to enable full runtime-configuration cloning.
The CLI follows the configured UI language (English by default) and is handy for automation and regression testing:
python3 -m recameralab.cli discover --list-ifaces
python3 -m recameralab.cli info 192.168.42.1 -p recamera
python3 -m recameralab.cli flash 192.168.42.1 -p recamera \
--firmware sg2002_reCamera_0.4.13_emmc_ota.zip
python3 -m recameralab.cli export 192.168.42.1 -p recamera # includes config
python3 -m recameralab.cli github --limit 5flash: does not wipe user data by default and applies the firmware configuration; use--wipefor factory reset or--no-configfor system images only.export: includes device configuration by default;--no-configexports only the three system images.
git clone https://github.com/RobotXTeam/reCameraLab.git
cd reCameraLab
./install.sh # dependencies + desktop entry
./run.sh # or python3 app.pyRequirements: Python 3.10+, PyQt5, paramiko, requests, psutil.
./packaging/build_deb.sh # Linux debPushing a v* tag makes GitHub Actions build deb, Windows x86_64 and macOS
arm64 packages and attach them to the release:
git tag v1.0.2 && git push origin v1.0.2- Every write is verified by MD5 read-back; a mismatch aborts and keeps the original boot slot.
- Exported packages carry a whole-package SHA256, re-checked on the device before flashing.
- Per-device credentials live in
config/devices.json(0600); export-time credentials inconfig/export-credentials.json(0600). - A confirmation dialog lists devices, firmware, wipe and configuration choices before flashing.
- Export uses read-only
dd/tarand never modifies the device. - Data directory: source runs use
~/work/reCameraLab; installed builds use~/.local/share/reCameraLab(macOS:~/Library/Application Support, Windows:%APPDATA%).
- Targets SG2002 / eMMC reCamera (8M BOOT / 2×512M ROOTFS / USERDATA).
- USB-NCM downlink is about 1 MB/s; a 512 MB rootfs export takes 8–10 minutes. Bundling configuration adds time; turn it off when not needed.
- Configuration archiving needs enough free
/userdataspace; the exporter rejects early when space is insufficient. - Windows builds are not code-signed; macOS builds are not notarized.
python3 -m unittest discover -s tests # 47 tests
python3 scripts/i18n_inventory.py --check # 457/457 en+ko coverage
python3 scripts/screenshots.py --lang en --demoReal-device regression record: docs/TEST-LOG.md (Chinese).
MIT. reCamera and Seeed are trademarks of Seeed Studio; this is an independent tool.



