The purpose of this thesis is to combine the critical angle method with CCD image capture technology for measuring the scratches on the LCD glass substrate. The panels of mobile phones, LCD TVs, digital cameras and tablet PCs etc with glass substrates are high-technique produces in modern life. The serious defects in or on the glass, like as, scratches, bubbles, or smudges, etc, will affect the image quality of display. In this method, when the expanded laser beam passes through the transparent component, the surface information is added in it. We use a rotating stage to control the incident angle of a parallelogram prism. Two incident angles, the critical angle and the angle of total internal reflection (TIR), are set to measure the image pattern of the glass using a CCD camera, respectively. Use the data of two patterns to calculate the reflectance profile and use the principle of the first-order geometrical optics to calculate the surface profile using the MATLAB program. From the surface profile results, how the quality of the glass is detected. The method has some merits, such as, simple structure, easy operation, high sensitivity, and it can measure a wide range of transparent surface defects.