{'fraction_non_alphanumeric': 0.0210016155088853, 'fraction_numerical': 0.0, 'mean_word_length': 5.138613861386139, '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}}
Generating Photo Captions for Instagram

This article describes a method for creating captions for images from the Instagram social network. The user adds his image and receives several captions. Unlike many similar approaches, this system does not create picture descriptions, but selects beautiful quotes from popular writers, philosophers and famous people. This system is based on a Convolutional Neural Network (CNN). A neural network is used to detect and classify objects in an image. Then, if objects in the picture are detected, several quotes with the most appropriate categories are selected for each object.