Quantum artificial vision for defect detection in manufacturing