The Eigenvalues of the -Differential of the Gauss map (see Curvature). The corresponding eigendirections give the Principal directions
video