ARCore Measurment for Android

ARCore Measurment for Android

ivan gabrovski
May 5, 2026
  • Everyone

  • Android OS

About ARCore Measurment for Android

The application use AR Core for measuring distance, area and volume.

1. Measuring Distance

Distance is the most fundamental AR measurement. It is calculated as the Euclidean distance between two 3D coordinates (Anchors) placed in the AR scene.

2. Measuring Area

To measure area, the user must place at least three anchors to form a polygon. Most AR area measurements assume the surface is a flat plane (2D surface in 3D space).

The Algorithm:

The most common approach is the Shoelace Formula (Surveyor's Formula). Since the points are in 3D, you should first project them onto a 2D plane (using the plane's normal) or ensure all points lie on the same detected AR Core Plane.

3. Measuring Volume

Volume is significantly more complex because it requires depth. There are two primary ways to approach this:

- Box Method (Extrusion):Measure the floor area (as described above) and then measure a vertical distance (height).

Formula: Volume = Area*Height

- Bounding Box Method: Use two diagonal corner points to define a 3D cube.

- Depth API (Advanced): Use AR Core to create a point cloud of an object and calculate volume via a convex hull or voxelization. This is much more accurate for irregular objects but requires a device with a Time-of-Flight sensor or high-quality depth support.

Since you're diving into the implementation, the real challenge in AR Core isn't just the math—it's the UX and precision. Measuring a 3D space on a 2D screen can be finicky for users.

Here is a breakdown of how to structure your Java logic for these features:

1. Distance (The Foundation)

To get a clean measurement, you should use Session hit Test() to place Anchors. Using anchors ensures that even if the camera drifts, the points stay "locked" to the physical world coordinates.

2. Area (Planar Geometry)

For area, users usually want to measure a floor or a wall. You should restrict your points to a single Plane. If the points are on the same horizontal plane (y values are nearly identical), you can ignore the y-axis and treat it as a 2D polygon calculation.

Implementation Tip: Store your points in a List. As the user adds a new point, dynamically update a "current area" preview. The Shoelace Formula is the standard here because it works for any non-self-intersecting polygon (irregular shapes).

3. Volume (The "Box" Method)

Calculating the volume of an arbitrary 3D object is very difficult without a LiDAR sensor. For a standard Java AR Core app, the most reliable way is the Extruded Polygon method:

1. Define the Base: User clicks points to define the floor area (A).

2. Define the Height: User clicks a point on the floor and drags a line upward, or clicks a point on the ceiling (h).

3. Calculate: V = A * h.

Pro-Tips for Accuracy

The Depth API: If the device supports it, enable the Raw Depth API. It allows you to perform hit-tests against "non-planar" objects (like a couch or a ball) which standard plane-finding might miss.

Smoothing: AR coordinates can jitter. Use a simple Moving Average Filter on the camera pose or the hit-test results to prevent the measurement numbers from jumping around rapidly.

Suggested Architecture

Measurement Manager: A singleton or helper class to store the list of active anchors.

Renderer: Handles drawing the lines and text labels in the AR overlay.

Unit Converter: A utility to toggle between Metric (meters/cm) and Imperial (feet/inches).

The application has, along with the specified functions, additional functions such as localization: English, Spanish, French, Bulgarian and German. Calculated distance, area and volume are in meters, which can be converted to centimeters, inches, feet.

Show More

What's new in the latest

Last updated on May 5, 2026
Minor bug fixes and improvements. Install or update to the newest version to check it out!
Show More

Videos and Screenshots

  • ARCore Measurment for Android poster
  • ARCore Measurment for Android screenshot 1
  • ARCore Measurment for Android screenshot 2
  • ARCore Measurment for Android screenshot 3
  • ARCore Measurment for Android screenshot 4
  • ARCore Measurment for Android screenshot 5
  • ARCore Measurment for Android screenshot 6
  • ARCore Measurment for Android screenshot 7

ARCore Measurment for Android APK Information

Latest Version
Varies with device
Category
Tools
Available on
Content Rating
Everyone
APKPure icon

Super Fast and Safe Downloading via APKPure App

One-click to install XAPK/APK files on Android!

Download APKPure
thank icon
We use cookies and other technologies on this website to enhance your user experience.
By clicking any link on this page you are giving your consent to our Privacy Policy and Cookies Policy.
Learn More about Policies