Text this: Unsupervised fabric defect detection algorithm based on vector quantization and feature distance.