From 26c5bfb88ddf9919ea46efcf5b12df6e09ebdfd9 Mon Sep 17 00:00:00 2001 From: xhc Date: Wed, 23 Sep 2026 11:53:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1f815a6..d1a7025 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ C++ / TensorRT 实时摄像头风险推理,算法来自最新 run_risk.py。 ## Orin 直接运行 适用环境:Jetson AGX Orin、JetPack 5.1.2 / L4T R35.4.1、CUDA 11.4、TensorRT 8.5.2、OpenCV 4.5.4。 -仓库已包含该板端编译的程序和重新构建的 TensorRT 引擎,无需先编译或转换。 +仓库已包含该板端编译的程序和重新构建的 TensorRT 引擎。 ```bash git clone https://git.kendeji.fun/zmv/vision-anti-pinch.git @@ -21,12 +21,11 @@ cd vision-anti-pinch/orin ./run.sh --visualize ``` -Ctrl+C / SIGTERM 停止程序。没有有限帧选项;正常运行和退出不输出统计。 -关闭预览窗口或按 q/Esc 只关闭预览,推理继续。没有图像网络服务、端口转发、JSONL 或视频输出。 +Ctrl+C / SIGTERM 停止程序。 +关闭预览窗口或按 q/Esc 只关闭预览,推理继续。 摄像头为 /dev/video5,1920×1536 UYVY,30 FPS。 当前 door mask 是指定的 constant_door_mask.json 副本,标定状态为 false;装车后应更换与实际画面匹配的门区并更新标定状态。 -即使不开启可视化,风险计算仍需要门区。 ## 下游获取结果 @@ -44,8 +43,6 @@ if (result) { ``` latest() 返回 shared_ptr;首帧尚未完成时为空。 -读取不删除结果,也不产生消费状态。推理不关心是否有下游读取。 -下游持有的结果保持有效,后续更新不会改变旧快照;历史保存由下游自行负责。 公共定义位于 include/camera_pipeline.hpp 和 include/frame_result.hpp。 ## 从源码构建