Table of Contents

Mega usage guide

Mega is a city-scale device-cloud collaborative spatial computing technology developed by EasyAR. Through flexible acquisition solutions, stable mapping and localization capabilities, and comprehensive toolchains, it aims to create persistent, high-precision digital twin spaces for the entire physical world (e.g., cities, campuses, or large shopping malls). With Mega, your applications can achieve large-scale indoor/outdoor precise positioning and real-world occlusion, delivering unprecedented spatial interaction experiences to users.

Mega differs from traditional AR capabilities in several aspects:

Image tracking Motion tracking Mega large-scale AR
Real-time recognition and tracking of planar images Obtains device position and orientation relative to the real world Associates and integrates the entire real world with AR content
✅ Printed materials and 3D content perfectly associated and integrated ❌ Low relevance between AR content and scene ✅ AR spatial awareness and environmental integration
❌ Requires specifying which printed materials enable AR ✅ AR experience available anytime, anywhere ✅ Full scene coverage without point-specific prompts

Getting started with mega

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

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

flowchart LR

A[Data acquisition] --> B[Build Mega Block map] --> C[Configure localization database, place virtual content] --> D[Mega localization]

Data acquisition

Mega provides various acquisition methods including panoramic camera acquisition, mobile phone acquisition, and laser scanner acquisition. You can choose based on target scene characteristics, referring to the following table:

Typical scenario Acquisition solution Acquisition device Expected acquisition time Quick reference
Large spaces (malls, museums) Single-image panoramic acquisition GoPro Max Less than 128 minutes Panoramic camera data acquisition
Extra-large spaces (large scenic areas, continuous streets) Large-scale fused panoramic acquisition GoPro Max Over 128 minutes Large-scale space data acquisition
Small spaces (rooms, shops, exhibition halls) Small-space mobile acquisition iPhone / ARCore Android phone Within 15 minutes Mobile space data acquisition
Single objects (exhibits, equipment, products) Object mobile acquisition iPhone / ARCore Android phone Within 15 minutes Mobile object data acquisition

Building mega block maps

After data acquisition, you need to create mapping tasks to upload collected data to the EasyAR developer center. The Mega cloud mapping system will automatically process and build Mega Block maps.

Different acquisition solutions correspond to different mapping task types:

After mapping completion, you can view mapping results:

Tip

If mapping fails, refer to the Mapping failure handling guide.

Enabling localization service

After verifying mapping results, you need to add the Mega Block map to the localization database before use. Detailed steps:

Tip

Troubleshooting

If you encounter issues or suboptimal results in the above process, first refer to these specialized solutions:

If these don't resolve your issue, collect necessary data and information, then report it to EasyAR staff.

Mega advanced guide

After establishing basic Mega localization services, you can explore more features and optimize for complex scenarios through the following sections.

Advanced scenarios

When building localization services with Mega, you may encounter complex scenario requirements. This section covers specialized optimization solutions:

  • Complex scenario optimization provides specialized solutions for extra-large spaces, 24/7 operation, multi-floor environments, and high-similarity scenes

Verification and diagnostics

Before launching your application, verify and diagnose localization performance through:

Operation and maintenance

As services run long-term, physical environments may change and business scales may expand. This section covers continuous maintenance, optimization, and scaling.

  • Scene updates: How to update underlying map data while preserving existing virtual content positions when real environments change.
  • Service scaling: Solutions for business growth, including QPS estimation, capacity monitoring, and scaling procedures.
  • Version migration: How to migrate existing data seamlessly to new service versions during major Mega mapping upgrades.
  • Data format upgrade: Migrating localization data to newer, higher-performance formats.

Reference manual

Detailed references for editor plugins and mobile tools throughout the development lifecycle:

  1. Mega Studio (Unity) - Integrated environment for map loading, content annotation, and simulation in Unity Editor.
  2. Mega Toolbox (App) - Comprehensive mobile toolbox for data acquisition and field testing.
  3. Mega Toolbox (Mini Program) - Lightweight field testing tool requiring no app installation.

Final words

Welcome to building your city-scale AR world with Mega! For further assistance or technical challenges during development, visit the EasyAR Q&A community to search for solutions or ask questions. You can also contact us directly through business channels.

Finally, visit the EasyAR official website for the latest product updates and industry cases. We wish you a smooth and enjoyable AR development journey!