Dataset: add READMEs, organize scripts, update .gitignore

- Add README.md to all 16 dataset directories with script references
- Centralize generation scripts under scripts/ with full README
- Update .gitignore to cover all data directories, keep only metadata
- Remove redundant CCPD/.gitignore (parent covers same rules)
- Remove stale scripts/test/ (254MB pipeline residue)
- Fix label parser reference: scripts are authoritative source of truth
This commit is contained in:
kirl committed 2026-06-23 14:41:39 +08:00
1 parent 7867c3bfaf
commit a64690477a
43 files changed
+2691 -205

No files matched your search

-7
View File
@@ -1,7 +0,0 @@
# CCPD raw data (download from official source)
CCPD2019/
CCPD2020/
# 7z archives (optional, via git LFS)
*.7z
+13 -15
View File
@@ -1,23 +1,21 @@
# CCPD Dataset
# CCPD 原始真图
CCPD (Chinese City Parking Dataset) 公开车牌识别数据集。
> **以脚本为准**:`scripts/sample_ccpd_full.py` 决定如何读取和转换此目录。
## 获取数据
从 CCPD 官方下载,解压到本目录。
## 目录结构
| 项目 | 详情 |
|---|---|
| 来源 | CCPD2019 + CCPD2020 公开数据集 |
| 规模 | 353,158 张 |
| 标签格式 | CCPD 文件名编码(`parse_ccpd_filename` 解析) |
| 下游脚本 | `scripts/sample_ccpd_full.py` → `CCPD_REAL_TRANS/` |
| 训练用途 | 不直接用于训练,仅作为生成脚本的输入源 |
```
CCPD/
├── CCPD2019/ # 原始 CCPD2019(本地,不入库)
│ ├── ccpd_base/ # 199,996 张
│ ├── ccpd_blur/ # 20,611 张
│ ├── ccpd_challenge/ # 50,003 张
│ ├── ccpd_db/ # 10,132 张
│ ├── ccpd_fn/ # 20,967 张
│ ├── ccpd_np/ # 3,036 张
│ ├── ccpd_rotate/ # 10,053 张
├── CCPD2019/ # ccpd_base / blur / challenge / fn / rotate / tilt / weather / np
└── CCPD2020/ # 同上结构
```
│ ├── ccpd_tilt/ # 30,216 张
│ ├── ccpd_weather/ # 9,999 张
│ └── splits/ # 标注文件(本地,不入库)