Quality Control in Cloth Production: a New System for Real Time Defect Detection