Programmers from ITMO University created a computer algorithm that allows tourists to find places of interest that are most popular with locals based on their instagram posts. To test the algorithm, the team analyzed Instagram photos taken in Saint Petersburg and compiled a list of museums, cafes, streets, and event venues preferred by the residents of Russia’s northern capital, thus providing local suggestions to tourists.
People tend to photograph memorable moments or places. Therefore, social networks, such as Instagram, are constantly becoming more and more popular. There are more than 700 million active Instagram users around the world. In most cases, people post photos either because it’s their first time visiting a place or, on the contrary, because they go there often.
Programmers at the eScience Research Institute at ITMO University found a way to distinguish between Instagram users living in a city and visiting tourists based on how they post on social media. In a nutshell, the researchers discovered which locations were most loved by St. Petersburg residents.
To remove tourists’ input from the analysis, the scientists chose two months of the year with the least number of visitors, that is, February and November, and collected all the posts from Instagram taken during that time in St. Petersburg. Based on each photograph that was posted, the programmers then analyzed the profiles of all the users who posted them.
Tourists would usually post a bunch of pictures made in the center of the city, along the main street, while geotags of residents’ photos were scattered throughout St. Petersburg.
In order to detect city residents more effectively, the scientists used official tourist statistics. According to the information from the city administration, the largest number of tourists comes from the European Union (32%) and their holidays usually do not exceed two weeks. Thus, a user was identified as a tourist if his or her posts in St. Petersburg during a calendar year were covered by two 15-day or less long windows with a gap of at least 30 days between each time period. Furthermore, the programmers excluded the 15 top tourist locations.
The scientists also note that the algorithm now automatically organizes popular locations according to five categories: theaters and museums, restaurants and bars, bridges and streets, parks and other. Thus, the most popular place in the “Theaters and Museums” category was the Ice Palace, a big arena and concert venue, which was more popular than even the world-famous Mariinsky Theater in terms of the number of photographs taken there. In the category “Streets and Bridges”, the locals mostly liked the Alexander Column at the Palace Square and the Fontanka river embankment.
The results of the research were presented at The International Conference on Computational Science and published in Procedia Computer Science.