CAVIS: A Low-cost Fabric Defect Inspection Machine based on Machine Vision