In order to resolve the problem that the sample of image for internal detection of DN100 buried gas pipeline microleakage is single and difficult to identify, a recognition method of microleakage image of the pipeline internal detection robot is proposed. First, nongenerative data augmentation is used to expand the microleakage images of gas pipelines. Secondly, a generative data augmentation network, Deep Convolutional Wasserstein Generative Adversarial Networks (DCWGANs), is designed to generate microleakage images with different features for detection in the pipeline of gas pipelines to achieve sample diversity of microleakage images of gas pipelines. Then, a bi-directional feature pyramid network (BiFPN) is introduced into You Only Look Once (YOLOv5) to retain more deep feature information by adding cross-scale connecting lines in the feature fusion structure; finally, a small target detection layer is constructed in YOLOv5 so that more shallow feature information can be retained to achieve small-scale leak point recognition. The experimental results show that the precision of this method for microleak identification is 95.04%, the recall rate is 94.86%, the mAP value is 96.31%, and the minimum size of identifiable leaks is 1 mm.