{'fraction_non_alphanumeric': 0.01476510067114094, 'fraction_numerical': 0.0, 'mean_word_length': 4.916666666666667, '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}}
Automatic creation of photo books from stories in social media

Photos are a special way to tell stories of our best memories. The representation of those photos in appealing physical photo books is highly appreciated by many people. Today, many photos are shared via social networking sites, where people upload their photos and share their stories with their social network. The members of the social network often comment on the photos, add tags or descriptions and upload photos for the same events in their albums. While the media of different personal events are now available on the social network, there is no easy way to collect and bundle them into some story and print the story into a photo book. We propose an approach to automatically detect media elements that match a query (where, when, what, who) in the user's social network and intelligently arrange and compose them into a printed photo book. We combine content analysis of text and images to automatically and semi-automatically select photos of a specific story. Photos that are highly probable to belong to the same event are clustered using an Expectation-Maximization algorithm to be able to easily retrieve them using online queries. People tags that are added to the photos are employed to select important photos by automatically calculating the individual social importance of friends. The selected content and derived semantics are employed to create an appealing layout for automatically created photo books.