init: tianyan-edge edge agent with Ascend NPU inference backend

- Go main process: stream ingestor, infer client, event uploader,
  heartbeat, config agent, OTA agent
- Python inference server rewritten to use CANN ACL (acl module)
  replacing ultralytics/PyTorch; supports YOLOv8 raw and YOLOv10
  NMS-free output formats via OUTPUT_FORMAT env var
- systemd services for edge-agent and edge-infer
- build/install/package scripts targeting arm64

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-06 21:49:04 +08:00
commit f6a85d7dfc
22 changed files with 1219 additions and 0 deletions

16
Makefile Normal file
View File

@@ -0,0 +1,16 @@
PYTHON=python3
build:
bash scripts/build.sh
install:
bash scripts/install.sh
package:
bash scripts/package-usb.sh
uninstall:
bash scripts/uninstall.sh
chmod:
chmod +x scripts/*.sh