Abstract Defect detection of inner surface of precision pipes is a crucial aspect of ensuring production safety. Currently, pipeline defect detection primarily relies on recording video for manual recognition, with urgent need to improve automation, quantification and accuracy. This paper presents a hexapod in-pipe robot with carrying capacity designed to transport the omnidirectional vision sensor to specified location within unreachable pipelines. The feasibility of the robot’s mechanical design and sensor load-carrying module is analyzed using theory calculations, motion simulations and finite element method. To address the challenges of small pixel ratio and weak background changes in panoramic images, a tiny defect segmentor (TDS) based on ResNet is proposed for detecting tiny defects on the inner surface of pipelines. The hardware and software systems are implemented, and the motion performance of the pipeline robot is validated through experiments. The results demonstrate that the robot achieves stable movement at a speed of over 0.1m/s and can adapt to pipe diameter ranging from of 110 to 130 mm. The novelty of the robot lies in providing stable control of the loaded vision sensor, with control precision of the rotation angle and the displacement recorded at 1.84% and 0.87%, respectively. Furthermore, the proposed method achieves a detection accuracy of 95.67% for tiny defects with a diameter less than 3 mm and provides defect location information. This pipeline robot serves as an essential reference for development of in-pipe 3D vision inspection system.