DEV Community

Cover image for How to Create an AR Measuring Tape App in 15 Minutes or Less [Tutorial]
echo3D for echo3D

Posted on

How to Create an AR Measuring Tape App in 15 Minutes or Less [Tutorial]

Here’s an easy demo for creating a simple measurement application (i.e., AR ruler app or tape measurement app) using AR Foundation, Unity, and echoAR. Tested on Android devices. The full demo can also be found on echoAR’s GitHub.

1.png

Register

If you don’t have an echoAR API key yet, make sure to register for FREE at echoAR.

Setup

  • Clone this repository for prefabs,scenes and custom scripts.
  • Open the project in Unity and follow the instructions on our documentation page to set your API key.
  • Set your echoAR API key in the echoAR prefab
  • Add models to your echoAR project

Run

2.jpg
You can measure real-life objects!

Usage Instructions:

The app has two modes:

  • Object Placement mode, which allows you to place an EchoAR object on any plane
  • Measurement Tape mode, which allows you to drag your finger between any two points on a plane to create a measurement.
  • You can easily switch between modes by clicking on their respective buttons in the UI.
  • Note that because both modes depend on plane detection, it may take a few seconds to move your camera around before the plane you are trying to measure may register.
  • Remember: if the placed Object is too large, you can modify the scale of the object in the EchoAR console (see https://docs.echoar.xyz/unity/transforming-content)

33.jpg

You can measure custom AR objects!

Learn more

Refer to our documentation to learn more about how to use Unity, AR Foundation, and echoAR.

Support

Feel free to reach out at support@echoAR.xyz or join our support channel on Slack.


echoAR (http://www.echoAR.xyz; Techstars ’19) is a cloud platform for augmented reality (AR) and virtual reality (VR) that provides tools and server-side infrastructure to help developers & companies quickly build and deploy AR/VR apps and experiences.

4.png

Top comments (0)