{'fraction_non_alphanumeric': 0.018227009113504555, 'fraction_numerical': 0.0, 'mean_word_length': 5.391534391534392, '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}}
Defects of wheel hubs detection and recognition based on trend peak algorithm

In industrial applications, automatic detection of automotive wheel hubs defects has important significance to improve the quality and efficiency of automotive wheel production and vehicle safety. In order to improve accuracy of detection and recognition of automotive wheel hub defect images, an improved peak location algorithm, the trend peak algorithm, is proposed to extract the region of wheel hub defect, combined with BP neural network to classify and recognise wheel hub defect. Firstly, initial defect positions are extracted using peak locations of vertical and horizontal directions. Then, mathematical morphology is used to remove pseudo defects, and the exact locations of the defects are obtained. Finally, the wheel hub defect features are classified to reach the target of defect recognition by BP neural network. In actual industrial conditions, the algorithm is found to obtain good recognition results and reach real-time detection request in low contrast, high noise, uneven illumination, and complex structure of the products, by experiments of X-ray images of four common defects of the actual wheel hubs.