{'fraction_non_alphanumeric': 0.022170361726954493, 'fraction_numerical': 0.0, 'mean_word_length': 5.172661870503597, '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}}
A PCB Image Self-adaption Threshold Segmentation Method Fusing Color Information and OTSU Theory

Considering that there are many small target pixels on the bare PCB image, the scheme first normalizes the original image in the red, green and blue (RGB) color space, and then converts the RGB color space image to the hue, saturation, and brightness (HSL) color space. Then, skillfully using the intra-class variance and gray difference of unit area ratio of the target and the background as new criterion function to calculate the optimal segmentation threshold based on improved OTSU algorithm in the luminance space. Finally, the segmentation image is obtained with less interfered by noise. The target and background are completely segmented, and the detail information is well preserved, which lay a foundation for the next detection and identification.