Aw sorry. My bad
It works now.
The demo in this thread shows like this:
But why the planes stack on each other?

How can I make the planes to not stack on each other?
Like this:
Aw sorry. My bad
It works now.
The demo in this thread shows like this:
these are the planes that are reported by the underlying system. You can run your own algorithm to merge them, though eventually android will merge them for you, once they think they are on the same level. It’s not so exact, and there are better solutions for that (like the depth sensing module), but none that provides you with polygons for the time being.