I. Introduction
Defect detection is a common process in manufacturing and is an important part in the quality control aspects of a product by regulating the product quality. In defect detection, human vision can be inconsistent and inaccurate due to fatigue. In order to overcome this drawback, defect detection through automated visual evaluation systems has been developed with suitable image processing techniques so as to provide accurate results that are repeatable, which is a superior solution that can replace human evaluation-based detection systems. In general, the defect detection architecture consists of the input image, the image pre¬processing block, the defect detection block and the output.