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:
18
config/edge.yaml.template
Normal file
18
config/edge.yaml.template
Normal file
@@ -0,0 +1,18 @@
|
||||
edge_id: edge-demo-001
|
||||
cloud_url: http://localhost:8004
|
||||
edge_token: ""
|
||||
|
||||
# 5 路示例
|
||||
rtsp_urls:
|
||||
- rtsp://user:pass@camera1/stream1
|
||||
- rtsp://user:pass@camera2/stream1
|
||||
- rtsp://user:pass@camera3/stream1
|
||||
- rtsp://user:pass@camera4/stream1
|
||||
- rtsp://user:pass@camera5/stream1
|
||||
|
||||
infer_socket: /tmp/edge-infer.sock
|
||||
infer_fps: 5
|
||||
infer_workers: 3
|
||||
conf_threshold: 0.5
|
||||
dedup_window_sec: 30
|
||||
version: 1.0.0
|
||||
Reference in New Issue
Block a user