-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject_tree.txt
More file actions
89 lines (89 loc) · 2.97 KB
/
Copy pathproject_tree.txt
File metadata and controls
89 lines (89 loc) · 2.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
webrtc-realtime-infer/
├── README.md
├── requirements.txt
├── .gitignore
│
├── configs/
│ ├── a_sender_file.yaml
│ ├── b_infer_cpu.yaml
│ ├── b_infer_gpu.yaml
│ ├── b_loopback.yaml
│ └── schema.md
│
├── apps/
│ ├── device_a_sender.py
│ ├── device_b_server.py
│ ├── device_b_loopback.py
│ └── signaling_server.py
│
├── core/
│ ├── __init__.py
│ │
│ ├── logging/
│ │ ├── setup.py
│ │ └── tracing.py # session_id/trace_id 贯穿全链路
│ │
│ ├── proto/
│ │ ├── __init__.py
│ │ ├── messages.py # FrameMeta/DetResult/Heartbeat + schema 校验
│ │ └── codec.py # versioned json + backward compatible
│ │
│ ├── webrtc/
│ │ ├── __init__.py
│ │ ├── peer_a.py
│ │ ├── peer_b.py
│ │ ├── tracks.py # MetaVideoTrack/AnnotatedTrack
│ │ └── signaling_http.py
│ │
│ ├── runtime/
│ │ ├── __init__.py
│ │ ├── runner.py # latest-frame-wins + infer_fps throttle
│ │ ├── lifecycle.py # task 管控、异常外显、优雅退出
│ │ └── clocks.py # now_ms + 可选 offset 估计
│ │
│ └── metrics/
│ ├── __init__.py
│ ├── sliding_window.py
│ └── reporters.py
│
├── inference/
│ ├── __init__.py
│ ├── common/
│ │ ├── preprocess.py # letterbox/normalize(与后端无关)
│ │ ├── postprocess.py # NMS/threshold(与后端无关)
│ │ └── types.py # Det, ModelIO, Shape 等公共类型
│ │
│ ├── trt/
│ │ ├── engine.py # TensorRT engine load + context
│ │ ├── detector.py # TRT 推理封装:infer() -> dets
│ │ └── plugins.py # 可选:YOLO decode plugin
│ │
│ ├── onnx/
│ │ ├── detector.py
│ │ └── providers.py
│ │
│ └── models/
│ └── adapters.py # yoloworld/yolov8/yolov11 等差异适配
│
├── assets/
│ ├── videos/
│ ├── models/
│ └── samples/
│
├── docker/
│ ├── cpu.Dockerfile
│ ├── gpu.Dockerfile
│ ├── compose.cpu.yaml
│ └── compose.gpu.yaml
│
├── scripts/
│ ├── run_a.sh
│ ├── run_b_cpu.sh
│ ├── run_b_gpu.sh
│ └── env_check.sh
│
└── tests/
├── test_proto.py
├── test_runner.py
├── test_detector_cpu_smoke.py
└── test_detector_trt_smoke.py