AR Marker Generator

Use the AR Marker Generator editor tool to create custom fiducial markers (AprilTag, ArUco marker, QR code) that can be used to localize AR content.

Note: AprilTags are the best for accurate pose detection.

To use the markers, print them out at ~17cm size on white paper. Keep at least a ~2cm margin to improve readability.

Outside of Unity, aurcogen is a great resource for creating AprilTags and ArUco markers.

Usage

  1. Open the editor window via MeshMap > Tools > AR Marker Generator.

  2. Input the "Marker ID" that you want to generate.

    1. AprilTags and ArUco markers only support numbers. This makes them more efficient to read, especially for pose detection.

    2. QR code are able to encode complex strings. If desired, you can structure the Marker ID as a URL with a query parameter. Unity apps using Marker Tracking will extract the parameter to use for localization, while regular QR code readers (like smartphone cameras) will direct to the URL. For example, https://www.meshmap.com/experiences?marker=0.

  3. Optionally, input the "Filename" you want to save the file as.

  4. Select the desired "Marker Type".

    1. (See Step 2 for guidance on which type to use.)

  5. Select the pixel "Size" of your image.

  6. Click "Generate".

  7. The markers are saved to Assets/Markers/.

AprilTag
ArUco marker
QR code

Last updated