Abstract
Driving the need for machine vision system is growing consumer demand for quality and defect-free products. Especially it is the most important in tarpaulin's manufacturing process achieves automatically by machine vision instead of by man vision. In this paper pinholes detection is performed by using morphology algorithms. Top hat transform is one of morphology applications. This transform take high performance of defect detection in the case that unexpected changes occur in some non-uniform background. For pinholes defect, automatic visual inspection system has been developed, which was composed by a line-scan camera, illumination, a frame grabber, a motor driver and control units. This system has excellent capacity to defect pinholes to the 0.1 mm by 0.5 mm in size and to work in moving objects by maximum 20 m/min in speed.