{'fraction_non_alphanumeric': 0.017813765182186234, 'fraction_numerical': 0.004858299595141701, 'mean_word_length': 5.404145077720207, '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}}
Application of computer vision methods for automated wooden planks length measurement

Automated inspection is a principal component in modern manufacturing aiming for Industry 4.0. With the fast development of digital image processing and machine learning algorithms, quality control is often performed by computer vision systems (CV). Following the presented topic, this paper applies the CV system for non-direct length measuring of objects moving through a conveyor. The approach involves image segmentation by a convolutional neural network and segmented object processing principles. Since high-resolution images were used, segmentation was performed in a patch manner. The algorithm also involves a custom contour analysis and the application of the least-squares method for the midline of wooden plank extraction. The proposed approach is robust to the object's non-alignment and merging factors as well as shape and wooden texture variance. The presented algorithm was tested on a custom wooden planks database gathered in a real EURO pallets production environment and confirmed to work as expected ensuring ±1mm length measuring accuracy and 0.97s processing timing meeting the real-time requirement of the specified system.