Holographic interferometry is increasingly being used in industry to detect defects in large structures (holographic nondestructive testing) and to measure the deformation of an object subjected to nondestructive stressing (static or dynamic). Applied forces often lead to a large parasitic object motion that forbids the exploitation of the interferograms. Several methods allow compensation of object motion (sandwich holography, for example) but no one method is able to correct a general displacement (three translations plus three rotations). We propose a new method, simple in principle, that allows compensation for any motion with any amplitude, in the limit of the coherence length of the laser. Basic ideas of this method are given. Experimental checking has been done with both real-time and double-exposure holographic interferometry. The diffuse test object was subjected to various displacements: in-plane translation of 5 mm, out-of-plane translation of 1 mm, and rotation of 30' around an axis located in its plane. With these amplitudes no interference fringes are visible, but in spite of this fact the compensation is possible: interference fringes progressively appear, and finally the infinite fringe is obtained. Moreover, when used with a computer this method should allow the measurement of the different components of the motion even if its amplitude is greater than the dimensions of the object.