Datasets:
Initialize Dataset Card (README.md)
Browse files
README.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-to-text
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- anpr
|
| 9 |
+
- ocr
|
| 10 |
+
- benchmark
|
| 11 |
+
- dashcam
|
| 12 |
+
- out-of-distribution
|
| 13 |
+
- evaluation
|
| 14 |
+
size_categories:
|
| 15 |
+
- 1K<n<10K
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# DashCop Real-World Out-of-Distribution ANPR Benchmark
|
| 19 |
+
|
| 20 |
+
Part of the **Edge-AI Traffic & Vehicle Analytics System** repository by `thundarstrom`.
|
| 21 |
+
|
| 22 |
+
## Dataset Summary
|
| 23 |
+
A frozen evaluation benchmark of **3,034 real dashcam plate crops** captured in challenging conditions (low resolution median 56x34 px, motion blur, direct sunlight, rain).
|
| 24 |
+
|
| 25 |
+
### Policy
|
| 26 |
+
* **FROZEN TEST SET**: Never train, augment, or fine-tune models on this dataset.
|
| 27 |
+
* Use exclusively to evaluate zero-shot generalization of OCR models in real Indian road conditions.
|
| 28 |
+
|
| 29 |
+
---
|
| 30 |
+
|
| 31 |
+
## How to Access and Download
|
| 32 |
+
|
| 33 |
+
### Using Automated Project Downloader (Extracts automatically)
|
| 34 |
+
```bash
|
| 35 |
+
# Clone / pull and auto-extract dataset
|
| 36 |
+
python scripts/download_hf_datasets.py --dataset anpr_benchmark --org thundarstrom
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
### Using `huggingface_hub` Python SDK
|
| 40 |
+
```python
|
| 41 |
+
from huggingface_hub import snapshot_download
|
| 42 |
+
|
| 43 |
+
# Download into local dataset directory
|
| 44 |
+
local_path = snapshot_download(
|
| 45 |
+
repo_id="thundarstrom/indian-anpr-ocr-benchmark",
|
| 46 |
+
repo_type="dataset",
|
| 47 |
+
local_dir="data/datasets/dashcop_ocr"
|
| 48 |
+
)
|
| 49 |
+
print(f"Dataset downloaded to: {local_path}")
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
---
|
| 53 |
+
|
| 54 |
+
## Recommended Training / Evaluation Recipe
|
| 55 |
+
|
| 56 |
+
```bash
|
| 57 |
+
# Evaluation only\npython scripts/test_ocr.py --benchmark dashcop_ocr
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
---
|
| 61 |
+
|
| 62 |
+
## Citation & Maintainer
|
| 63 |
+
* **Maintained by**: `thundarstrom`
|
| 64 |
+
* **Project**: Edge-AI Real-Time Traffic Violation Detection & ANPR
|
| 65 |
+
* **License**: CC-BY-4.0
|