Can ARCore be used to measure object, room, structure or distances between points in an area that aren't in the same frame?
Asked Answered
S

3

7

I understand that the below quote is very correct for the Project Google Tango:

By combining Depth Perception with Motion Tracking, the device can measure distances between points in an area that aren't in the same frame.

Based on the above, below are a few questions:

1. Can ARCore be used to measure the distance as the Project Google Tango does?

2. How accurate is the result in comparison to the Project Google Tango?

Seemly answered 25/9, 2017 at 13:22 Comment(0)
P
0

Can ARCore be used to measure the distance as the Project Google Tango does?

Yes, ARCore can definitely be used to measure the distances. And ARCore does it quite good with the current version 1.8, although Tango devices made it more accurately.

How accurate is the result in comparison to the Project Google Tango?

ARCore and Tango are parts of the same plan for Google, and that's an important thing to keep in mind. And Google has been using parts of Tango for months in another project, Daydream Standalone. Google's Visual Positioning System that was announced alongside this new Daydream system has its roots in Tango. But ARCore has key difference: ARCore requires a device with just a back-facing camera, and with accelerometer and gyroscope. Tango devices had additionally depth camera besides sensor Fusion. Depth sensor allowed more precise positioning but its working distance was short and depth system drained phone's battery very fast.

Speaking of quality, Google Pixel 3 or Huawei P30 Pro, for example, work much better with ARCore than their counterparts. Why? Because tracking sensors in budget Android phones need a thorough calibration in order to observe a robust AR experience.

Hope this helps.

Prickle answered 8/4, 2019 at 7:21 Comment(0)
F
4

Ian M partially answers the first part of your question with this answer. Here's how you might do it:

Pose startPose = startAnchor.getPose();
Pose endPose = hitResult.getHitPose();

// Clean up the anchor
session.removeAnchors(Collections.singleton(startAnchor));
startAnchor = null;

// Compute the difference vector between the two hit locations.
float dx = startPose.tx() - endPose.tx();
float dy = startPose.ty() - endPose.ty();
float dz = startPose.tz() - endPose.tz();

// Compute the straight-line distance.
float distanceMeters = (float) Math.sqrt(dx*dx + dy*dy + dz*dz);
Fluorine answered 25/9, 2017 at 20:30 Comment(0)
D
0

Can ARCore be used to measure the distance as the Project Google Tango does?

Yes, but with less accuracy and less robust.

How accurate is the result in comparison to the Project Google Tango?

It depends on the device, environment condition, size to measure and the way we get the result. Horizontal planes such as floors have estimated height, if we are measuring a distance on detected planes, the result is not bad.

And here's an example http://www.idownloadblog.com/2017/09/07/arkit-measurekit-app/ using ARKit, I think similar things can be implemented in ARCore too.

Dine answered 26/9, 2017 at 7:19 Comment(0)
P
0

Can ARCore be used to measure the distance as the Project Google Tango does?

Yes, ARCore can definitely be used to measure the distances. And ARCore does it quite good with the current version 1.8, although Tango devices made it more accurately.

How accurate is the result in comparison to the Project Google Tango?

ARCore and Tango are parts of the same plan for Google, and that's an important thing to keep in mind. And Google has been using parts of Tango for months in another project, Daydream Standalone. Google's Visual Positioning System that was announced alongside this new Daydream system has its roots in Tango. But ARCore has key difference: ARCore requires a device with just a back-facing camera, and with accelerometer and gyroscope. Tango devices had additionally depth camera besides sensor Fusion. Depth sensor allowed more precise positioning but its working distance was short and depth system drained phone's battery very fast.

Speaking of quality, Google Pixel 3 or Huawei P30 Pro, for example, work much better with ARCore than their counterparts. Why? Because tracking sensors in budget Android phones need a thorough calibration in order to observe a robust AR experience.

Hope this helps.

Prickle answered 8/4, 2019 at 7:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.