File size: 4,229 Bytes
8754148
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c8abb22
8754148
c8abb22
8754148
c8abb22
8754148
c8abb22
8754148
c8abb22
8754148
c8abb22
8754148
c8abb22
8754148
c8abb22
8754148
c8abb22
8754148
c8abb22
8754148
c8abb22
8754148
c8abb22
8754148
c8abb22
 
8754148
c8abb22
8754148
c8abb22
8754148
c8abb22
8754148
c8abb22
8754148
c8abb22
8754148
c8abb22
8754148
c8abb22
8754148
c8abb22
 
8754148
c8abb22
8754148
c8abb22
8754148
c8abb22
 
 
 
 
8754148
 
c8abb22
 
 
 
 
8754148
 
c8abb22
 
8754148
 
c8abb22
8754148
c8abb22
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
---
annotations_creators: []
language: en
size_categories:
- 1K<n<10K
task_categories:
- object-detection
task_ids: []
pretty_name: car_dd
tags:
- fiftyone
- image
- object-detection
dataset_summary: '




  This is a [FiftyOne](https://github.com/voxel51/fiftyone) dataset with 2816 samples.


  ## Installation


  If you haven''t already, install FiftyOne:


  ```bash

  pip install -U fiftyone

  ```


  ## Usage


  ```python

  import fiftyone as fo

  from fiftyone.utils.huggingface import load_from_hub


  # Load the dataset

  # Note: other available arguments include ''max_samples'', etc

  dataset = load_from_hub("harpreetsahota/CarDD")


  # Launch the App

  session = fo.launch_app(dataset)

  ```

  '
---

# 🚘 CarDD Dataset

CarDD is a novel, public, large-scale dataset specifically designed for vision-based car damage detection and segmentation.

The dataset contains **4,000 high-resolution car damage images** with over **9,000 well-annotated instances**, making it the largest public dataset of its kind. 

The high resolution of the images (average 684,231 pixels) is a key advantage over existing datasets that have a much lower average resolution (50,334 pixels). Higher resolution allows for more detailed annotations and the potential to detect finer damages.

### CarDD Dataset Overview and Features

CarDD features **six common external car damage categories**, chosen based on frequency of occurrence and clear definitions from insurance claim statistics.

1. Dent

2. Scratch

3. Crack

4. Glass shatter

5. Tire flat

6. Lamp broken 

### Annotation process
The **annotation process** involved experts from the car insurance industry and trained annotators following specific guidelines based on insurance claim standards. 

These guidelines address challenges like 

• mixed damages (priority rules)

• damages across components (boundary splitting)

• adjacent same-class damages (boundary merging). 

For object detection and instance segmentation, the annotations include **masks and bounding boxes** associated with each of the six damage types. 

Each instance has a unique ID, category information, mask contours, and bounding box coordinates, following the COCO dataset format. 

For SOD, pixel-level binary ground truth maps are provided.

### Dataset splits
The dataset is split into **training (70.4%), validation (20.25%), and test (9.35%) sets**, maintaining a consistent ratio of instances for each category across the splits. 

Near-duplicate images were explicitly removed to prevent data leakage.

### Uses

The dataset provides **comprehensive annotations for multiple computer vision tasks**, including:
    *   **Classification:** Identifying the type of damage.
    *   **Object Detection:** Locating the damaged regions with bounding boxes.
    *   **Instance Segmentation:** Precisely outlining the damaged areas with pixel-level masks.
    *   **Salient Object Detection (SOD):** Identifying the damaged regions as salient objects through binary maps.


CarDD presents several **challenges** for model development due to the nature of car damage:
    *   **Fine-grained distinctions** between damage types like dents and scratches.
    *   **Diversity in object scales and shapes** of the damages.
    *   A **significant proportion of small objects**, particularly for dent, scratch, and crack categories.
    *   The fact that damages like **dent, scratch, and crack can be intertwined and visually similar**.


#### Availability
The CarDD dataset is **publicly available** at https://cardd-ustc.github.io. However, access requires agreeing to the license terms of Flickr and Shutterstock, as the dataset does not own the copyright of the images. The dataset is intended for non-commercial research and educational purposes. Measures were taken to protect user privacy by mosaicking or deleting faces and license plates.


# Citation

```bibtex
@ARTICLE{CarDD, author={Wang, Xinkuang and Li, Wenjing and Wu, Zhongcheng}, 
journal={IEEE Transactions on Intelligent Transportation Systems}, 
title={CarDD: A New Dataset for Vision-Based Car Damage Detection}, 
year={2023}, 
volume={24}, 
number={7}, 
pages={7202-7214}, 
doi={10.1109/TITS.2023.3258480}}
```