With the development of science and technology, as a new concept weapon electromagnetic gun has important strategic significance. In the process of launch, there are some damages including wear, corrosion, gouging and transition for the rail-gun. In order to study damage mechanism of the electromagnetic rail-gun during launch, it is necessary to detect the bore profile of electromagnetic rail-gun. The bore of rail-gun has the structural characteristics of closed, invisible and narrow space makes inconvenience for the measurement of the contour, so the online measurement and analysis of the rail-gun bore is very important. By comparing different methods of measurement, laser triangle method of noncontact is the heart of the way using in this paper. The laser triangle method has the characteristics of high precision and non-contact, and can realize on-line nondestructive measurement of arbitrary cross section of the rail bore. Through the comparison of the ideal contour and the measured profile of the electromagnetic rail-gun, the damage profile can be obtained. Using this bore profile scanner of electromagnetic rail-gun designed by this method, we can get two-dimensional profile images.