Tekstiviesti: Defect detection in repetitive fabric patterns