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:
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:


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

Create a unity project
Run Unity and create a "New project".

- Select "3D(Built-In Render Pipeline)".
- Click "Create 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 the sense and mega packages in sequence. After successful installation, it will appear as shown below.

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

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

- 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.

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

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

- 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.

- 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.
