{'fraction_non_alphanumeric': 0.016715116279069766, 'fraction_numerical': 0.0, 'mean_word_length': 5.495283018867925, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Wire Defect Recognition of Spring-Wire Socket Using Multitask Convolutional Neural Networks

As a critical electrical connector component in the modern industrial environment, spring-wire sockets and their manufacture quality are closely relevant to equipment safety. These types of defects in a component are difficult to properly distinguish due to the defect similarity and diversity. In such cases, defect types can only be determined using cumbersome human visual inspection. To satisfy the requirements of quality control, a machine vision apparatus for component inspection is presented in this paper. With a brief description of the apparatus system design, our emphasis is put on the defect recognition algorithm. A multitask convolutional neural network (CNN) is proposed for detecting those ambiguous defects. Compared with the image processing method in machine vision, the defect inspection problem is converted into object detection and classification problems. Instead of breaking it down into two separate tasks, we jointly handle both aspects in a single CNN. In addition, data augmentation methods are discussed to analyze their effects on defects recognition. Successful inspection results using the presented model are obtained using challenging real-world defect image data gathered from a spring-wire socket module inspection line in an industrial plant.