Synthetic✦ Production-ReadyRailwayInfrastructureDetectionIndustrialMaintenance

Railway Track Defect Detection

Synthetic railway track imagery featuring broken rails, sleepers, and trackside obstructions. Diverse environmental conditions and structural anomalies provide robust training data for automated rail inspection systems. Obstruction classes provide support for false positive detection filtering.

Sample Frames

20 annotated samples drawn from the train split. Toggle annotations to inspect bounding-box quality.

All images in this dataset are 100% synthetically generated. No real-world footage was used.

Class Distribution

9 annotation classes · 876 total images. Sorted by object count, descending.

Annotation counts
02004006008001,000Vegetation1,007Sleeper920BrokenRail860Shadow569Ignore494Cables244Droppings218SleeperSupport94HalfBrokenRail20

Class Balance

Per-class counts, frequency, and average bounding-box area. Sort any column to surface the rarest or most prevalent classes for re-balancing.

9 / 9
Class
Images
with class
Objects
total
Per image
average
Area
% of frame
BrokenRail
847
860
1.02
1.94%
Ignore
494
494
1
0.98%
Sleeper
464
920
1.98
4.45%
Vegetation
250
1,007
4.03
0.66%
Droppings
188
218
1.16
0.88%
Shadow
163
569
3.49
1.90%
Cables
123
244
1.98
0.75%
SleeperSupport
91
94
1.03
0.54%
HalfBrokenRail
20
20
1
1.22%

Co-occurrence Matrix

How frequently pairs of classes appear in the same image. Diagonal cells show standalone image count for that class. Useful for spotting biased or correlated labels.

Pair frequency
BrokenRailVegetationSleeperCablesDroppingsIgnoreShadowSleeperSupportHalfBrokenRail
BrokenRail84723445011718348115888
Vegetation23425014341441482311
Sleeper4501434648811535984111
Cables117418812339313
Droppings1834411531881253263
Ignore4811483599312549410010
Shadow158238413100163192
SleeperSupport8812619911
HalfBrokenRail111133102120
Hover any cell for image count0481

Average Object Area

Each rectangle is one class, sized by the average area its bounding boxes occupy as a percentage of the frame. Surfaces tiny vs. dominant objects at a glance.

% of frame
Sleeper4.5%BrokenRail1.9%Shadow1.9%HalfBrokenRail1.2%Ignore1.0%Droppings0.9%Cables0.8%Vegetation0.7%SleeperSupport0.5%

Spatial Distribution

Where annotations of each class tend to fall across the frame. Brighter regions indicate higher density — useful for detecting positional bias in your training data.

Per-class heatmaps
BrokenRail860
Vegetation1,007
Sleeper920
Cables244
Droppings218
Ignore494
Shadow569
SleeperSupport94
HalfBrokenRail20
lowhigh density

Model Performance

Validation metrics from a YOLOv8 detector trained on this dataset. Reference checkpoint: yolov8m.pt.

Validation set
These results are based on training on 100% synthetic images from this dataset, validated on 100% real-world held-out images. For production deployments, AnywayLabs.ai recommends mixing 10–25% real images into your training set.
0.7269
mAP@0.5
0.3599
mAP@0.5:0.95
0.7654
Precision
0.7082
Recall

Validation curves over training

mAP@0.5
0.000.250.500.751121416179
mAP@0.5:0.95
0.000.250.500.751121416179
Precision
0.000.250.500.751121416179
Recall
0.000.250.500.751121416179

Dataset Metadata

Annotation formatYOLO
Total images876
Classes9
ResolutionMixed
Last updated2026-05

Interested in this dataset?

Get in touch for sample access, custom variants, or licensing terms — typical turnaround is two business days.