{'fraction_non_alphanumeric': 0.029227557411273485, 'fraction_numerical': 0.0, 'mean_word_length': 5.10828025477707, '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}}
Sketch-based image retrieval using sketch tokens

One fundamental challenge of Sketch-based Image Retrieval (SBIR) is the appearance gap between sketches and natural images. To bridge the gap, we propose a framework that describes both types of images based on sketch tokens. Sketch tokens are mid-level representations of local edge structures. Compared with describing images with pixel-level features, describing images with sketch tokens is more accurate and robust. We compute the responses of image patches to sketch tokens, and propose a local descriptor to describe object shape by capturing the sketch token responses. Bag-of-visual-word mode is utilized to represent images, and inverse indexing is built to accelerate the retrieval process. We compared the proposed work with state-of-the-art methods (SHoG, GF-HOG) on two public datasets. The experimental results show that our method outperforms them and significantly improves SBIR performance.