hxy5526/traffic-sign-recognition
0
🚦 Traffic Sign Recognition System
实时交通标志识别系统 | Real-time Traffic Sign Recognition
功能 Features
- 📷 图片识别 - 上传图片进行交通标志识别
- 🎥 视频识别 - 上传视频进行交通标志批量识别
- 📱 摄像头识别 - 实时摄像头识别(支持手机)
支持的标志 Supported Signs
- 禁止停放 (No Parking)
- 禁止掉头 (No U-Turn)
- 禁止鸣喇叭 (No Honking)
- 禁止非机动车 (No Non-motor Vehicles)
- 禁止行人通行 (No Pedestrians)
- 注意行人 (Pedestrian Crossing Warning)
- 减速让行 (Slow Down and Give Way)
- 注意儿童 (Attention Children)
- 限速标志 (Speed Limit 20/60)
- 直行/左转/右转 (Turn Directions)
- 环岛行驶 (Roundabout)
- 机动车通行 (Motor Vehicles)
部署 Deployment
本项目已配置为可在 Hugging Face Spaces 上运行。
文件结构
├── web_app.py # Flask 主应用
├── requirements.txt # Python 依赖
├── Dockerfile # Docker 配置
├── best.pt # YOLOv10 模型文件
├── templates/
│ └── index.html # 前端页面
└── README.md # 本文件上传模型
- 将你的
best.pt模型文件上传到 Space 的根目录 - Space 启动时会自动加载模型
本地运行
pip install -r requirements.txt
python web_app.py访问 http://localhost:7860
