{'fraction_non_alphanumeric': 0.022850924918389554, 'fraction_numerical': 0.0, 'mean_word_length': 5.174496644295302, '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 colour object search technique

A colour object search technique is presented. Given an image, regions of probabilistic occurrence are generated (for each object model) by isolating regions whose colours are similar to the template colours. Since the template may exist at one or more of these region locations, each is examined individually. At each region location the object size is estimated and an expansion process initiated to include all pixels matching the template colours. Expansion is terminated when a match measure quantified by defining a term 'extent of match' (EOM), based on object size and the number of pixels with each model colour, is maximised. If the EOM exceeds a predefined threshold then the object is assumed to be present. Several experiments are presented which demonstrate the algorithm's robustness to scale, affine object distortion, varying illumination, image clutter and occlusion.