In this paper, a new method based on phase congruency is proposed to measure pitch lengths and surface braiding angles of two-dimensional biaxial braided composite preforms. Lab space transform and BM3D (block-matching and 3D filter) are used first to preprocess the original acquired images. A corner detection algorithm based on phase congruency is then proposed to detect the corners of the preprocessed images. Pitch lengths and surface braiding angles are finally measured based on the detected corner maps. Experimental results show that our method achieves the automatic measurement of pitch lengths and the surface braiding angles of biaxial braided composite preforms with high accuracy.