# 处理数据集
- [CTSDB数据集](https://nlpr.ia.ac.cn/pal/trafficdata/panel.html)
```shell
wget https://nlpr.ia.ac.cn/pal/trafficdata/TSRD-Train%20Annotation.zip
wget https://nlpr.ia.ac.cn/pal/trafficdata/tsrd-train.zip
wget https://nlpr.ia.ac.cn/pal/trafficdata/TSRD-Test.zip
wget https://nlpr.ia.ac.cn/pal/trafficdata/TSRD-Test%20Annotation.zip
```
Dataset consists of 5998 traffic sign images of 58 categories. Each image is a zoomed view of single traffic sign. Annotations provide image properties (file_name, width, height) as well as traffic sign coordinates within image and category (e.g. 5 km/h speed limit)
- [yolo格式](https://docs.ultralytics.com/zh/yolov5/tutorials/train_custom_data/#21-create-datasetyaml)
```text
- 每个对象一行
- 每一行是 class x_center y_center width height 格式。
方框坐标必须在 归一化 xywh 格式(从 0 到 1)。如果您的方框以像素为单位,则除以 x_center 和 width 图像宽度,以及 y_center 和 height 按图像高度计算。
类号以 0 为索引(从 0 开始)。
```
【CTSDB数据集转换成YOLO格式】
最新推荐文章于 2024-07-19 16:38:02 发布