Finds car damage in photos: broken_part, corrosion, crack, dent, flaking, missing_part, paint_chip, scratch. It is the damage detector of
ClaimSight, an auto-insurance claims triage project, where its boxes are
matched to car parts and fed to the claim's estimate.
It is weak (test mAP 0.076): good enough to show the pipeline working on real photos, not to price a repair. Treat its output as a signal for a human, not a measurement.
from transformers import pipeline
detect = pipeline("object-detection", model="guptashashank/claimsight-damage-rtdetr")
detect("car.jpg", threshold=0.5)
# [{"score": 0.65, "label": "dent", "box": {"xmin": 424, "ymin": 168, ...}}, ...]
0.5 is the threshold ClaimSight uses: on the test photos it returns about 4 boxes a photo, 36% of them right (IoU 0.5, right class), with at least one right box on 72 of 94 photos. At 0.3 it returns about 26 a photo at 13% precision.
PekingU/rtdetr_v2_r18vd (Apache-2.0), fine-tuned end to end.DrBimmer/car-parts-and-damage-dataset). Polygons were turned into
their bounding boxes.scripts/train_detector.py in the source repo.CarDD's labels fit insurance work better, but its licence needs the lab's signed consent and forbids redistribution, so these CC0 photos were used instead.
COCO-style AP on the 94 held-out test photos (1,086 boxes), top 100 detections a photo. The photos were shrunk to at most 800 px a side (JPEG, quality 95) before the model's 640 px resize, as in training; on full-size photos the scores shift by a couple of points.
| class | AP | AP50 | test boxes |
|---|---|---|---|
| all (mAP) | 0.076 | 0.129 | 1,086 |
| missing part | 0.201 | 0.338 | 57 |
| broken part | 0.161 | 0.291 | 161 |
| dent | 0.058 | 0.143 | 169 |
| crack (too few to mean much) | 0.126 | 0.126 | 2 |
| scratch | 0.035 | 0.089 | 482 |
| corrosion | 0.014 | 0.024 | 35 |
| paint chip | 0.004 | 0.012 | 145 |
| flaking | 0.006 | 0.011 | 35 |
model.safetensors sha256: 7211ee809509ca4111e2684bbb89110e4e04c3256409b2129d081bd03728beb9
PekingU/rtdetr_v2_r18vd