Similar Items: On-edge assembly defect detection in noisy environments using convolutional neural networks