docs: map UI algorithm steps to source packages
This commit is contained in:
@@ -250,17 +250,24 @@ GET /api/files/read/analysis/:taskId/:resultId/:filename
|
|||||||
|
|
||||||
## 10. 已接入的算法
|
## 10. 已接入的算法
|
||||||
|
|
||||||
全部 4 类算法都是真实 `process` 运行时,没有任何 mock:
|
页面右侧算法步骤与插件、平台适配器、算法源码包的对应关系如下。全部 5
|
||||||
|
个步骤都是真实 `process` 运行时,没有任何 mock。
|
||||||
|
|
||||||
| 插件 ID | 算法 | 来源 | 依赖 |
|
| 页面步骤 | 插件 ID | 版本 | manifest | 平台适配器 | 算法源码包 / 工程 | 算法入口 | 算法负责人 |
|
||||||
|---------|------|------|------|
|
|----------|---------|------|----------|------------|-------------------|----------|------------|
|
||||||
| `coupler-panel` | 车钩面板检测 | `alg/挠度-偏转角/delivery/coupler_panel_release` | numpy / scipy / pyyaml |
|
| 整车配准 | `vehicle-registration` | `1.3.0` | `server/plugins/manifests/vehicle-registration.json` | `server/plugins/adapters/vehicle_registration_run.py` | `alg/整车配准v1.3` | `translate_align_pointcloud_to_cad.translate_align_by_front_tail` | 待算法侧补充 |
|
||||||
| `underframe-deflection` | 构架挠度测量 | `alg/挠度-偏转角/delivery/underframe_deflection` | numpy / scipy |
|
| 车钩面板检测 | `coupler-panel` | `1.2.1` | `server/plugins/manifests/coupler-panel.json` | `server/plugins/adapters/coupler_panel_run.py` | `alg/delivery_v1.2.1/coupler_panel_release` | `coupler_panel.pipeline.run_coupler_measurement_pipeline` | 待算法侧补充 |
|
||||||
| `train-measurement` | 列车点云测距 | `alg/260505列车点云测距v1/.../train_measurement_system` | numpy / pyyaml / open3d / openpyxl |
|
| 平整度 / 平面度 / 轮廓测量 | `flatness-suite` | `1.5.0` | `server/plugins/manifests/flatness-suite.json` | `server/plugins/adapters/flatness_suite_run.py` | `alg/平整度、平面度、轮廓测量v1.5` | `pipeline.MeasurementPipeline`(`contour` / `plane` / `curvature`) | 待算法侧补充 |
|
||||||
| `flatness-suite` | 平整度 / 平面度 / 轮廓 / 曲率 | `alg/平整度、平面度、轮廓测量/` 下的脚本 | numpy / open3d(contour 还需 torch + trimesh) |
|
| 列车点云测距 | `train-measurement` | `3.2.0` | `server/plugins/manifests/train-measurement.json` | `server/plugins/adapters/train_measurement_run.py` | `alg/train_measurement_system_v3.2_0629` | `task_manager.TaskManager` | 待算法侧补充 |
|
||||||
|
| 构架挠度测量 | `underframe-deflection` | `1.2.1` | `server/plugins/manifests/underframe-deflection.json` | `server/plugins/adapters/underframe_deflection_run.py` | `alg/delivery_v1.2.1/underframe_deflection` | `underframe_deflection.run_single_beam_pipeline` | 待算法侧补充 |
|
||||||
|
|
||||||
> flatness-suite 的 contour 子模块依赖较重(~2GB torch)。adapter 在 torch
|
说明:
|
||||||
> 缺失时会自动跳过 contour,**plane / curvature 仍能正常出结果**。
|
- 负责人列用于区分各算法工程师归属;当前源码和 manifest 未记录个人姓名,需算法侧补充。
|
||||||
|
- `train-measurement` 即用户常说的 `train_measurement_system`,当前接入版本为
|
||||||
|
`train_measurement_system_v3.2_0629`。
|
||||||
|
- 车钩面板检测和构架挠度测量同属 `delivery_v1.2.1` 交付包,但分别是两个独立算法工程目录。
|
||||||
|
- flatness-suite 的 contour 子模块依赖较重(~2GB torch)。adapter 在 torch
|
||||||
|
缺失时会自动跳过 contour,**plane / curvature 仍能正常出结果**。
|
||||||
|
|
||||||
### 10.1 容器内依赖安装
|
### 10.1 容器内依赖安装
|
||||||
|
|
||||||
@@ -297,9 +304,9 @@ manifest 里所有 `{algRoot}` 占位符在运行时都解析为该路径。算
|
|||||||
|
|
||||||
## 11. 验收检查清单
|
## 11. 验收检查清单
|
||||||
|
|
||||||
- [x] 系统中存在「算法运行(多选并发)」面板,能列出 4 类算法
|
- [x] 系统中存在「算法运行(多选并发)」面板,能列出 5 类算法
|
||||||
- [x] 多选执行后所有算法**并行**调度(默认 4 路并发池)
|
- [x] 多选执行后所有算法**并行**调度(默认 4 路并发池)
|
||||||
- [x] 单次运行有进度条,20 分钟内出结果(manifest 默认超时 1200s)
|
- [x] 单次运行有进度条,超时时间按各算法 manifest 配置
|
||||||
- [x] 结果统一渲染:误差统计 / 测量值表 / 图片 / 3D 叠加按钮
|
- [x] 结果统一渲染:误差统计 / 测量值表 / 图片 / 3D 叠加按钮
|
||||||
- [x] 数据库记录算法 ID + schemaVersion,可回放、可追溯
|
- [x] 数据库记录算法 ID + schemaVersion,可回放、可追溯
|
||||||
- [x] 算法层与 UI 层完全解耦:新增算法不改前端 / 不改 tRPC / 不改数据库
|
- [x] 算法层与 UI 层完全解耦:新增算法不改前端 / 不改 tRPC / 不改数据库
|
||||||
|
|||||||
Reference in New Issue
Block a user