Non-contact online scanning of woven fabrics and composites for defects