Abstract: The invention is directed at a method and system of detecting defects in a transparent media such as a piece of glass. The method comprises the steps of transmitting light from a light source towards the transparent media and then detecting defects in the transparent media by Photodiode array scanning the light as it is reflected or passes through the transparent media. The method and system may operate in any one of a dark field mode, a bright field mode for scanning or a bright field mode for inspecting.