Table of Contents

Create annotations for on-site operation verification

Annotations are structured data files created using the Mega Studio tool, primarily used to record spatial positioning information such as the 3D coordinates and pose parameters of target objects in a scene. In the Mega Toolbox positioning verification workflow, these annotation data can be used as a reference benchmark to validate the accuracy of actual positioning results.

Before you begin

Before creating annotation data, you need to prepare the following:

  1. Block cloud localization service
  2. Unity editor

Install Mega Studio

If you have already downloaded and installed the EasyAR Sense Unity Plugin, you can skip this step.

Download EasyAR Sense Unity Plugin

On the EasyAR download page, select "EasyAR Sense Unity Plugin (for Mega)" to download, as shown below:

Download Mega Studio

Download Mega Studio

After extracting the downloaded file, you will get two tgz files.

Download Mega Studio

Create a unity project

Run Unity and create a "New project".

Create a unity project

  • Select "3D(Built-In Render Pipeline)".
  • Click "Create project".

Create a unity project

Install Mega Studio

Click on the "Window" in the menu bar, select "Package Manager," and in the pop-up window, click the "+" symbol in the upper-left corner, then choose "Add package from tarball..."

Install studio

Install the sense and mega packages in sequence. After successful installation, it will appear as shown below.

Install studio

Using Mega Studio

Right-click in the empty space of the left panel "Hierarchy" to import "Annotation Tool(Edit Mode)".

Using studio

  • Select "EasyAR.Mega.Annotation" in the left panel "Hierarchy".
  • Enter the EasyAR account name and password in the right panel "Inspector".
  • Click "Login".

Using studio

  • In the right panel "Inspector", click the icon after "Mega Cloud Service".
  • In the opened window, select a "Mega Block localization service".
  • Click "OK".
  • In the right panel "Inspector", click "Load" to add the map to the Unity project.

Using studio

  • Press Ctrl and the left mouse button simultaneously at the desired annotation space position to create an annotation cube.

Using studio

  • Select "EasyAR.Mega.Annotation" in the left panel "Inspector".
  • Click the icon after the annotation data package in the right "Inspector" panel.

Using studio

  • In the opened window, select a "Mega Block localization service" on the left.
  • Click the "+" symbol in the upper right corner to create an annotation data package.
  • Enter the name of the annotation data package.
  • Click the "√" symbol to confirm.
  • Click "OK" to save the annotation data package.

Using studio

  • Click below the annotation data package in the right "Inspector" panel and click the "∧" button.
  • Finally, click "Yes" in the pop-up window to complete the saving of the annotation data package. You can view and delete annotation data in the cloud service's Block cloud localization.

Using studio