The main objective of automated optical inspection (AOI) nowadays is to replace manual inspection. The main purpose of this study is the color difference within the surface of the fabric, which is not easy to detect through manual inspection. The proposed method not only reduced inspection time, but also quantified standard inspection.