Design and Implementation of Virtual Tour Guide App
Design and Implementation of Virtual Tour Guide App
Divyaprabha K N
Department of Computer Science
PES University
Bangalore, India
[email protected]
Abstract—This paper is about a flutter-based application The tourism sector is seen to be thriving more and more
which integrates different functionalities into a single app hence since the growth of smartphones and mobile applications. The
helping the tourists get important information and functionalities tourists find it easier and convenient to have access to
at the same place without the need to explore multiple information such as tourist destinations, lodging, dining
applications. This application offers 3 main services. The first
options, booking and many more simply through a mobile
service does image recognition with the help of google cloud
vision API and provides information about the recognized tourist application which is just a touch away. In recent years
attraction using web scraping techniques. The second extensive progress has been seen in travel-based apps. These
functionality of the app is planning a trip which provides apps are acting as a replacement to the traditional sources of
content- based recommendation and optimal route generation by information to the tourists such as guidebooks, brochures and
solving the travelling salesman problem (TSP) using genetic travel agents.
algorithm. Both these services are implemented as Rest API in
Django. The third major feature is finding a tour guide virtually This paper will discuss one such app which mainly
and obtaining information from them directly. Thus, also comprises 3 major functionalities being image recognition and
creating job opportunities for many tour guides. gaining knowledge about tourist attractions, planning a
personalized tour based on the interests of the user and
Keywords—flutter; image recognition; web scraping; Django; obtaining an optimal route which has been implemented using
TSP; genetic algorithm the genetic algorithm and finding a tour guide virtually and
obtaining information from them directly. Thus, also creating
I. INTRODUCTION job opportunities for many tour guides.
The rapid advancement in smartphones has had a major
influence on the lives of people and has brought in significant II. LITERATURE SURVEY
changes in the modern society. This led to a notable Tourism and travel are two areas where users may profit
enhancement in the development of mobile applications. This from smart phone applications. A growing trend has been
has expanded the capabilities of mobile phones in addition to observed in the last decade: the traveler is often connected to mobile
conventional audio communication. Tourism industry is one of devices [1]. Consequently, in the domain of tour guide and trip
the major sectors which has benefited from the advancements planning many researchers and developers have come up with
of mobile applications. research papers and applications that help tourists. The
978-1-6654-9515-8/$31.00©2022IEEE
Authorized licensed use limited to: T.C. Cumhurbaskanligi Kutuphanesi. Downloaded on November 08,2024 at 11:53:28 UTC from IEEE Xplore. Restrictions apply.
2022 International Conference on Advanced computing Technologies & Applications (ICACTA), Mar. 04 – 05, 2022, Coimbatore, INDIA
function of the guide is being taken over by other services explains how to solve the route planning problem using a
and applications as technology advances.[2]. greedy algorithm. The results of experiment on both synthetic
and actual data sets demonstrates that the algorithm is capable
In paper [2] , the author proposes an android mobile
of find an optimal path. [10] presents an offline method for
application that enables the users to recognize the tourists
producing an ideal vacation route plan in order to maximise
attractions from their mobile phone with just an image of
the number of destinations visited throughout the vacation
their desired tourist attractions and a mini guide on the
period. The suggested method would compute the arrival time
recognized tourist attraction. It uses image recognition tools
and minimum stay time to see if it exceeds the stop's working
like OpenCV and API like google maps, google places and
hours.
GPS technology. The user would have to select an image,
which would then be compared to the database's images, and In the paper [11] is a combination of features available in
the monument would be identified. In [3] study has been other travel plan apps like checking hotel availability, booking
conducted on building an android app for tourism in hotel rooms, find the tourist attractions in the places that they
Indonesia. The app had features like scanning a landmark want to visit, calculating optimal routes between the different
and this was done with help of google cloud vision API. user specified venues/destinations etc., while having the
Another main feature of this app was to provide information constraints of time, locations, meeting days and the users’
on all ongoing/upcoming events in Indonesia. The app was personal preferences dining, hotel and also offering
evaluated and 94% of users found it really helpful. suggestions to the users based on their preferences. The
algorithm that has been used to find the best path is modified
Recommender System has become a hot topic and aims
by Dijkstra's algorithm. Route planning can also be a
to help users find items that match their interest [4].
Travelling salesman problem When starting and end points are
Reference [5] discusses one such mobile application named
the same.
TAIS. TAIS recommends tourist attractions according to
user’s preferences and provides details of the attractions. The research [12] uses genetic algorithms' optimization
The information about attractions come from multiple capabilities to create a viable TSP solution. The procedure
internet sources like websites / blogs that provide begins by calculating the Euclidean distance between the
multimedia information and comprehensive text-based places that the salesman will visit. Value encoding is used to
information about different places of interest. TAIS not only create the first chromosomal pool. The best-fitting
recommends places but also provides routing service chromosomes are then chosen using a roulette wheel selection
through OpenStreetMap web API. Tourists can use the method, followed by m-point crossover. Apply exchange
routing service to create a footpath, discover fellow mutation to the previously created offspring. This technique is
passengers going in the same direction, and find public now continued until the genetic algorithm converges.
transportation using Yandex. Schedule API to get to their
desired location. III. TECHNOLOGIES USED
A significant type of context aware apps is location
dependent services, which respond to location-related A. Flutter
inquiries. [6]. In [6] the author discusses implementation of Flutter is a free and open-source user interface software
Tour- guide which is a location based mobile application. The development kit from Google. It's used to develop cross-
application has a central server and mobile clients, which platform apps for Android, iOS, Linux, Mac, Windows,
follow the client server architecture. The mobile phones are Google Fuchsia, and the web with a single codebase. It was
aware of their location and can connect with the server employed in the development of our tour guide app.
through a wireless network.. Users can get details of the
attraction in terms of text, picture and video. With the help of B. Django
GPS the application can give location based information. In
addition, the article highlights several techniques taken to Django is a Python-based web framework that follows the
increase performance, conserve battery power, and decrease model–template–views design pattern. The recommendation
communication overhead. Data caching methods are used in API and the best route generating API were constructed using
order to reduce wireless network traffic cost by processing this framework, and both were written in Python and could be
user’s query locally. hosted anywhere.
Due to various customised criteria, tourism path design is a C. GPS
difficult challenge[7]. Research has been conducted on
algorithms that find the shortest path. Paper [8] proposes an The Global Positioning System (GPS) is a navigation
artificial intelligence based mobile trip planner. A star and ant system for air, sea, and land transport that uses satellites, a
receiver, and algorithms to synchronise location, velocity, and
colony optimization algorithms are used for route planning.
time data. This is used to determine the user's present location
Provided places of interest by the user, the app will draw an
in order to provide them with more relevant recommendations.
optimized path through the route along time constraints. It
maintains track of prior journeys and activities taken by users.
As a result, it is capable of making fair recommendations. [9]
978-1-6654-9515-8/$31.00©2022IEEE
Authorized licensed use limited to: T.C. Cumhurbaskanligi Kutuphanesi. Downloaded on November 08,2024 at 11:53:28 UTC from IEEE Xplore. Restrictions apply.
2022 International Conference on Advanced computing Technologies & Applications (ICACTA), Mar. 04 – 05, 2022, Coimbatore, INDIA
978-1-6654-9515-8/$31.00©2022IEEE
Authorized licensed use limited to: T.C. Cumhurbaskanligi Kutuphanesi. Downloaded on November 08,2024 at 11:53:28 UTC from IEEE Xplore. Restrictions apply.
2022 International Conference on Advanced computing Technologies & Applications (ICACTA), Mar. 04 – 05, 2022, Coimbatore, INDIA
fitness(route)
{
return 1/total_distance(or total_time)
}
roulette_wheel_selection(list)
{
cum_sum = cumulative sum of fitness values
cum_perc = cumulative percentage of fitness values
a = generate a random number between 0 and 100
r = select the route having a cumulative percentage
just above
Fig. 1. Click a Picture
the random number generated
return r
}
V. IMPLEMENTATION
This section will discuss working of each feature of the
flutter based application, Smaarak- My tour guide.
Smaarak-My tour guide has been developed using flutter
and runs in both android and IOS operating systems. Entire
app contains around 8000 lines of code written in dart
language. The app requires access to the internet in order to
provide services. It also requires GPS access for better
recommendations. The server contains micro service APIs that
were implemented in python using the Django framework.
These APIs provide services like recommendation, optimal
route to the user app. Google’s cloud storage service firebase
has been used for databases.
A. Click a Picture
The user can click a picture of the tourist attractions or
upload a picture from the gallery. The landmark detection
API will recognize the place and then send the landmark to
Wikipedia API. The Wikipedia API returns the information Fig. 2. Recommendation
in pure text and which when fed to Google’s TTS engine for
audio translation. B. Plan a tour
The user has to select a city and enter the radius of search.
Radius of search is the distance in km within which
attractions will be recommended. The user has to select
different types of venues he would like to visit. Once submit
button is pressed, an http post request with body containing
city name, radius of search, geo coordinates, and list of
venue preferences will be sent to an API built using Django
and hosted. The API upon getting http post request will first
calculate the distance between every attraction in the
selected city and user’s current location using haversine
978-1-6654-9515-8/$31.00©2022IEEE
Authorized licensed use limited to: T.C. Cumhurbaskanligi Kutuphanesi. Downloaded on November 08,2024 at 11:53:28 UTC from IEEE Xplore. Restrictions apply.
2022 International Conference on Advanced computing Technologies & Applications (ICACTA), Mar. 04 – 05, 2022, Coimbatore, INDIA
978-1-6654-9515-8/$31.00©2022IEEE
Authorized licensed use limited to: T.C. Cumhurbaskanligi Kutuphanesi. Downloaded on November 08,2024 at 11:53:28 UTC from IEEE Xplore. Restrictions apply.
2022 International Conference on Advanced computing Technologies & Applications (ICACTA), Mar. 04 – 05, 2022, Coimbatore, INDIA
978-1-6654-9515-8/$31.00©2022IEEE
Authorized licensed use limited to: T.C. Cumhurbaskanligi Kutuphanesi. Downloaded on November 08,2024 at 11:53:28 UTC from IEEE Xplore. Restrictions apply.