--> Setareh Soltanieh| Blog - SAIS

Distance Measurement AR Application

By Setareh Soltanieh

Introduction

This project is an augmented reality (AR) application designed to measure the distance between two points in a real-world environment. Using AR technology, users can interactively specify two points and visualize the measured distance directly within their surroundings.

How It Works

1. The user scans the environment to detect flat surfaces.
2. The user selects one endpoint by sending a raycast and placing a sphere at that location.
3. The second endpoint is specified by the user touching the screen, placing another sphere.
4. A line is drawn between the two spheres, and the distance is displayed along the line.

Video Demonstration

Try It Yourself

Click below to download the application:

Download APK

Technologies Used

  • AR Foundation (for environment scanning and tracking)
  • Unity (for rendering and interaction)
  • C# (for scripting logic)
  • Android/iOS (for deployment)

Conclusion

This application demonstrates how augmented reality can be used to measure distances accurately in a real-world space.