Fabric defect detection based on a deep convolutional neural network using a two-stage strategy | Synapse