Skip to content

https://github.com/HaiLang47/nn/pull/new/feature/carla_traffic_sign_recognition - #7650

Closed
HaiLang47 wants to merge 1 commit into
OpenHUTB:mainfrom
HaiLang47:feature/carla_traffic_sign_recognition
Closed

HaiLang47 wants to merge 1 commit into
OpenHUTB:mainfrom
HaiLang47:feature/carla_traffic_sign_recognition

Conversation

@HaiLang47

Copy link
Copy Markdown
Contributor

…ts and demo

  • README.md: environment, dependencies, run steps, NN principle, algorithm flow
  • main.bat: Windows launch entry (double-click to run)
  • main.sh: Ubuntu placeholder entry
  • requirements.txt: pinned dependencies (hutb 2.9.16, torch 2.14.0, ultralytics 8.4.160, opencv 5.0.0)
  • demo.gif: screen recording of YOLOv8 stop sign perception + keyboard control

The module uses YOLOv8n neural network for traffic sign detection (COCO class 11: stop sign) and supports W/A/S/D keyboard control of the ego vehicle in Carla simulation.

修改概述:

修改内容

完善 src/carla_traffic_sign_recognition 模块,添加神经网络感知 + 车辆控制的完整文档与启动入口。

新增文件

  • README.md:运行环境、依赖安装、运行步骤、YOLOv8 神经网络原理、算法流程
  • main.bat:Windows 启动入口(双击运行)
  • main.sh:Ubuntu 占位入口
  • requirements.txt:固定依赖版本
  • demo.gif:演示动图(YOLOv8 stop sign 检测 + 键盘控制)

技术要点

  • 使用 YOLOv8n 神经网络(ultralytics 8.4.160)对 RGB 摄像头画面进行实时目标检测
  • 检测 COCO 类别 11(stop sign)
  • 每 4 帧推理一次(降频),避免主循环卡顿
  • 键盘 W/A/S/D 控制车辆,Q 退出
  • Carla 服务端与客户端均在 Windows 本机运行,连接 127.0.0.1:2000

运行环境

  • Windows 10/11 + Python 3.10.11
  • Carla/HUTB 2.9.16
  • PyTorch 2.14.0 (CPU) + Torchvision 0.29.0 (CPU)
  • Ultralytics 8.4.160 + OpenCV 5.0.0 + NumPy 2.2.6

运行效果

demo

运行步骤

详见 README.md。

备注

PR #7648、#7649 已提交等审核。

…ts and demo

- README.md: environment, dependencies, run steps, NN principle, algorithm flow
- main.bat: Windows launch entry (double-click to run)
- main.sh: Ubuntu placeholder entry
- requirements.txt: pinned dependencies (hutb 2.9.16, torch 2.14.0, ultralytics 8.4.160, opencv 5.0.0)
- demo.gif: screen recording of YOLOv8 stop sign perception + keyboard control

The module uses YOLOv8n neural network for traffic sign detection (COCO class 11: stop sign)
and supports W/A/S/D keyboard control of the ego vehicle in Carla simulation.
@HaiLang47 HaiLang47 closed this Sep 28, 2026
@HaiLang47

Copy link
Copy Markdown
Contributor Author

根据维护者反馈,ROS 相关功能应提交到 OpenHUTB/ros2 仓库。本 PR 主动关闭,内容将迁移到 ros2 仓库重新提交。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant