Table of Contents

Mega Usage Guide

Mega is a city-level end-to-cloud collaborative spatial computing technology launched by EasyAR. Through a flexible data acquisition scheme, stable mapping and positioning capabilities, and a comprehensive toolchain, it aims to create a persistent and high-precision digital twin space for the entire physical world (such as cities, industrial parks, or large shopping malls). With Mega, your applications can achieve large-scale indoor and outdoor precise positioning and real virtual-real occlusion, bringing users an unprecedented spatial interaction experience.

Mega has some differences compared with traditional AR capabilities:

Image Tracking Motion Tracking Mega Large-Space AR
Real-time recognition and tracking of planar images Obtaining the position and attitude of the device relative to the real world Associating and integrating the entire real world with AR content
✅ Perfectly associate and integrate printed materials with 3D content ❌ Low relevance between AR content and the scene ✅ AR spatial perception associated and integrated with the environment
❌ Need to inform which printed materials can be used to experience AR ✅ Can experience AR anytime and anywhere ✅ Full-scene coverage without single-point prompts

Mega Getting Started Guide

Different from traditional GNSS positioning that relies on satellite signals, Mega is based on advanced visual positioning technology. By matching the image data captured in real-time by the user's device with the pre-built high-precision 3D data, the 6 DoF pose of the user in the physical world is determined. Based on this pose, the application can render and overlay virtual content at the correct physical location.

You can follow the following workflow to start using Mega from scratch:

flowchart LR

A[Data Acquisition] --> B[Build Mega Block Map] --> C[Configure Localization Library and Place Virtual Content] --> D[Mega Localization]

Data Acquisition

Mega provides multiple acquisition methods such as panoramic camera acquisition, mobile phone acquisition, and laser scanner acquisition. You can choose according to the characteristics of the target scene. Refer to the following table for selection:

Typical Scenarios Acquisition Scheme Acquisition Device Expected Acquisition Duration Quick View
Large Spaces (Shopping Malls, Museums) Panoramic Camera Single-Image Acquisition GoPro Max/Max2 Less than 128 minutes Panoramic Camera Data Acquisition
Ultra-Large Spaces (Large Scenic Areas, Continuous Streets) Panoramic Camera Ultra-Large Range Fusion Acquisition GoPro Max/Max2 More than 128 minutes Ultra-Large Scale Space Data Acquisition
Small Spaces (Rooms, Stores, Exhibition Halls) Mobile Phone Small-Space Acquisition iPhone / ARCore Android Phones Within 15 minutes Mobile Phone Spatial Data Acquisition
Single Objects (Exhibits, Equipment, Commodities) Mobile Phone Object Acquisition iPhone / ARCore Android Phones Within 15 minutes Mobile Phone Specific Object Data Acquisition

Build Mega Block Map

After the data acquisition is completed, you need to continue to create a mapping task and upload the collected data to the EasyAR Development Center. The Mega cloud mapping system will automatically process the data and build a Mega Block map.

Different acquisition schemes correspond to different types of mapping tasks:

After the mapping is completed, you can view the mapping results:

Tip

If the mapping fails, you can refer to the Mapping Failure Handling Guide.

Enable Localization Service

After checking that the mapping results are correct, you also need to add the Mega Block map to the localization library before you can use it. The detailed steps are as follows:

Tip

Troubleshooting

If you encounter problems or unsatisfactory situations in the above process, you can first refer to the following topics for targeted solutions:

If the above topics fail to solve your problem, please collect the necessary data and information and feedback the problem to the EasyAR staff.

Application Development

  • Unity Mega Development Quick Start introduces how to configure and run the EasyAR Mega Unity sample to quickly get started with EasyAR Mega development. You can refer to this document to quickly complete application development.
  • WeChat Mini-Program Mega Development Quick Start introduces how to quickly run the sample project of the WeChat Mini-Program Mega plugin to quickly get started with EasyAR Mega development. You can refer to this document to quickly complete the development of WeChat Mini-Program applications.

Mega In-Depth and Advanced Guide

After completing the basic setup of the Mega localization service, you can refer to the following sections to gain a deeper understanding of more functions and features of Mega and perform special optimization for complex scenarios.

Advanced Scenarios

When using Mega to build a localization service, you may encounter some complex scenario requirements. This section introduces special optimization solutions for these complex scenarios:

Verification and Diagnosis

Before your application goes live, you can verify and diagnose the localization effect in the following ways:

Operation and Maintenance

As the service runs for a long time, the physical environment may change, and the business scale may also expand. This section introduces how to perform continuous maintenance, optimization, and expansion of the service.

  • Scene Update: When the real environment changes, how to update and upgrade only the underlying map data while keeping the positions of the existing virtual content unchanged.
  • Service Expansion: Solutions to deal with the growth of business volume, including QPS estimation of the localization service, capacity monitoring, and the service expansion process.
  • Version Migration: When there is a major upgrade of the Mega mapping service, how to smoothly migrate the existing data to the new version of the service.
  • Data Format Upgrade: Smoothly migrate the data format of the localization service to a format with better performance and a newer version.

In Conclusion

Welcome to use Mega to build your own city-level AR world! If you need further assistance or encounter any technical difficulties during the development process, you can visit the EasyAR Q&A Community to search for solutions or ask questions, or you can directly communicate and feedback with us through business channels.

Finally, you can visit the EasyAR Official Website to get the latest product updates and industry cases. May your AR development journey be smooth and enjoyable!