Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

Could plane detection be able to determine plane slope in the future? #388

Open
ZottiGabriele opened this issue Sep 13, 2018 · 1 comment

Comments

@ZottiGabriele
Copy link

I'm working on a project in which i'm trying to place an object "underground" by mapping a street and then spawning an object under the generated plane.

To generate the plane I'm using the DetectedPlaneGenerator script from the examples, the only problem is that the street i'm mapping is inclined by about 10 degrees, and the planes generated don't follow the slope, but instead are half floating over the street and the other half goes inside.

Is there a way to get the plane inclination from the feature points, or by allowing the planes to be inclined would impact too much the plane detection, generating planes where it shouldn't?

To replicate the "issue" you can build the HelloAR project and try to map an inclined street, then move to the side and lower your phone so that you see the plane edge. Thank you!

@fredsa
Copy link

fredsa commented Sep 21, 2018

Thank you for the feature request. As you noted, ARCore plane detection currently works with pure horizontal and vertical planes.

For an outdoor walking experience you could certainly try using feature points to detect incline.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants