The invention relates to a
traffic accident intelligent detection
system and method based on a YOLOv12 improved architecture. The
system comprises a YOLOv12 enhanced
feature extraction network, a multi-scale detection head, a
time sequence information fusion module, a real-time reasoning optimization engine and an
intelligent decision fusion system, and realizes collaborative optimization of local feature enhancement and global context modeling by constructing six core technology modules and adopting collaborative learning of a C2f-Attention mechanism and deformable
convolution. According to the method, a composite
loss function special for traffic accidents is innovatively designed, and adaptive fusion of multi-scale features and difficult sample mining are realized through a multi-objective optimization mechanism of Enhanced Focus Loss, IoU-aware Loss and Severage-aware Loss. According to the method, the problems of low detection precision and
false alarm and missing alarm caused by illumination variation, shielding and
motion blur in a traffic monitoring scene are effectively solved, in the test of an AccidentsDesection YOLOv8
data set, the mAP at 0.5 reaches 91.27% and is improved by 8.6% compared with that of YOLOv8, the reasoning speed reaches 67 FPS, experimental results show that the
system has excellent performance in the aspects of detection precision, real-time performance and
model compression, and the method is suitable for popularization and application. The method achieves a remarkable effect in
traffic accident intelligent identification, and has a remarkable technical effect and industrial application value.