# An ARCore-Based Augmented Reality Campus Navigation System
## 5 System Test and Result Analysis
### Outdoor Campus Map Testing  
In the outdoor mode, the camera of the mobile phone is always working. The navigation mode is presented to the user in the form of real scenes and 3D maps, as shown in Figure 8a. The user's perspective is located on the top of the 3D map and can overlook and browse the architectural planning of the whole campus. Three-dimensional road signs are suspended above the location of the corresponding building to distinguish the location of the building. A dialog box appears in order to input the starting location and destination when users click the \"Route Planning\" button, as shown in Figure 8b. After entering the starting place and destination, the \"Guidel\" button is clicked in order to start route planning. After clicking navigation, a red path is displayed on the map, representing the best path plan from the starting place to the destination. The red ball represents the current location. Importantly, the initial synchronization function needs to be open in order to synchronize the initial position of the device camera with the position of the sphere on the map. As shown in Figure 8c, the initial position is on the road between the College of Computer Science and Technology and the College of Mathematics and Physics, which faces the library. Therefore, the forward vector of the sphere needs to be consistent with the user's forward direction. The initial location is the location of the phone camera, but not the location of the user. The phone is kept at a distance of about 50 cm from the line of sight. Once the initial position is adjusted correctly, the on-screen message \"Lost tracking, Waiting...\" disappears. At this point, the app will track the user's location on the map more accurately. In order to easily and automatically synchronize the location information in the map, the buildings are marked on the 3D map. Markers can also help users correct the direction of movement during walking. When the red ball reaches the destination, the path automatically disappears, and a voice prompt and augmented reality information pop up, as shown in Figure 8d. After the navigation process is completed, the user can select \"Path Planning\" for a new round of navigation. At present, the most commonly used maps are Google map, Apple map, Baidu map and Gaode map. Google map can be used abroad; unfortunately, it cannot be used in China. Apple map is only for the IOS system and does not support other models of mobile phones. Baidu map has the largest amount of map contents. On the other hand, Gaode map is a leading provider of digital map content, navigation and location service solutions in China. Its high-quality electronic map database has become the core competitiveness of the company, and its road information is the most accurate. On 14 August 2020, Gaode map announced the launch of AR virtual live navigation function. The AR function combines the mobile phone camera with the user's location, direction and other information in order to show information points in a more intuitive manner. In order to prove the accuracy of localization of the proposed system, ARCore system is compared with Gaode outdoor AR navigation system. First, the destinations and click AR navigations of Gaode map App are entered, as shown in Figure 8e. When the mobile phone is erected, it will enter into AR navigation mode. The route of the guide is superimposed into the real scene, and the location and distance of the destination will be marked as shown in Figure 8f. According to the guide route in Figure 8g, the terminal mark will become larger as the destination becomes closer. However, the accuracy of outdoor AR navigation of Gaode is passable. When the Gaode app shows that the destination has arrived, the actual destination is on the right side of the terminal mark, and the straight-line distance is about 30 m, as shown in Figure 8h. On the other hand, the actual destination is the building at the top of Figure 8h.