{'fraction_non_alphanumeric': 0.02035928143712575, 'fraction_numerical': 0.0, 'mean_word_length': 5.2388059701492535, '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}}
Target characteristic extraction algorithm based on block structure variables

In image processing system, the target recognition is very crucial. An optimized algorithm based on the definition of block is presented. In this algorithm, two structure variables are self-defined to calculate the areas and centroids of targets. The labeling conflicts are resolved by tracking and correcting, which means that if there is a conflict, trace the neighbored blocks and correct the labels of them. Finally, the characteristics of blocks, which have the same label, are accumulated. This method has outstanding advantages in saving memory, compared with Pixel labeling algorithm and Run-length code algorithm. The new algorithm is simple and the results of target characteristics are easy to be analyzed and handled in the following processes.