For in-line inspection of ferromagnetic materials, magnetic flux leakage (MFL) detection is one of the most common nondestructive testing methods. In practical applications of conventional MFL inspection, random mechanical vibration can cause the detection gesture of the probe, in particular, the lift-off and tilt detection angle, to continuously fluctuate throughout the inspection process, which introduces measurement errors to MFL signals. To address the problem and realize ultra-high-definition MFL detection, this paper proposed a new type of probe with dual diagonal distributed magnetic sensors for MFL detection. Based on the dual magnetic sensor probe structure and magnetic dipole model, this paper further developed analytical solutions of the real-time sensor lift-off, tilt detection angle, and defect depth. Additionally, this paper presented a compensation algorithm for MFL measurement errors caused by random lift-off and tilt detection angles. A practical implementation for the dual magnetic sensor probe in the actual MFL testing tool was given. The finite element simulation and physical experiments were designed to verify the feasibility of probe gesture compensation algorithm. Even under abnormal probe detection gesture case, MFL signals measured and compensated by the dual magnetic sensor probe were also in line with the engineering application, and measurement errors of MFL signals were reduced from more than 30 % to less than 10 %, which is conducive to the realization of ultra-high-definition MFL testing.