{'fraction_non_alphanumeric': 0.01985981308411215, 'fraction_numerical': 0.0, 'mean_word_length': 5.541984732824427, '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}}
Weighted Smallest Deformation Similarity for NN-Based Template Matching

This article deals with the template matching problem, and a weighted smallest deformation similarity measure, which is robust to occlusions, background outliers, and complex deformations. The appearance-based nearest neighbor (NN) matching of points is constructed and the smallest location distance between each point in the template and its matching points is employed to penalize the deformation explicitly. Then, the weights are added to points in the template relied on their likelihood of belonging to the background through NN matching with the points around the target window. Experiments show that the proposed method improves the state-of-the-art performance on real-world scenario benchmarks and can be applied in rough positioning of surface mount technology components.