Abstract:UAV inspection has been an important method for detecting the visible defects of bridges. To address the problems of unstable image quality caused by UAV vibration, poor performance of convolutional neural networks (CNNs) in small-scale crack detection and difficulty in crack positioning, a bridge crack intelligent detection and three-dimensional mapping method using integrated visual measurement and Transformer algorithm is proposed. This method establishes an image acquisition based on the Real-ESRGan image super-resolution algorithm to restore blurred images and to achieve efficient collection of high-quality bridge images. Subsequently, under the complex bridge background conditions, this method constructs a framework integrating the Detection Transformer algorithm and digital image processing method to identify, extract, and visually highlight the cracks. Then, this method processes crack-highlighted images through multi-view stereo matching to generate dense points cloud and construct a detailed bridge model, enabling the three-dimensional mapping and localization of cracks. Taking the Jinjiang River Bridge in Changsha City as the experimental subject, 2 316 bridge appearance images were captured by UAV for generating a three-dimensional real-scene model, and 479 detailed images were captured for defect detection. The Real ESRGan algorithm was used to restore motion-blurred images. The detailed model of the bridge defect part established has a pixel resolution of 0.25 mm/pixel; the minimum relative error of crack width measurement is 1.37%, and the maximum relative error is 9.90%. The experimental results demonstrate that the intelligent detection and three-dimensional mapping method for bridge cracks, integrating visual measurement and Transformer algorithm, can effectively enhance detection efficiency, ensure safety, and achieve digital, intelligent, and visual bridge crack detection, holding significant research value and broad application prospects.