Stav dette: Defect detection in repetitive fabric patterns