Plane detection Coaching android, or ARCoachingOverlayView - ARFoundation

Hi,

What are your methods of knowing when enough plane detection is done on android (and apple), after coaching your user to first scan the floor plane. (just need one flat floor plane)

I see ARKIT has a built in ARCoachingOverlayView.
Does Android arcore…or ar foundation have anything like this?

For my first attempt here, I did standard plane detection, and then

if (arPlane.size.magnitude > 2 )
            {
                  // stop scanning
             }

so basically when the plane is of certain size I assume its probably got a plane decent enough. Any other suggestions?

ARCoachingOverlayView.

So far on the only device I’ve tested, pixel 4 xl, i’m actually fairly happy with that method I first tried of checking arplane.size.magnitude. once a size is decided on, I stop all scanning and place a regular invisible plane on the ground to hit against. no walls, just one infinite plane.

I still didn’t find out it arcore/android has pre built coaching system like the above listed arkit ARCoachingOverlayView. but I made my own easy enough.

You can read the ARSession.notTrackingReason to determine the state of the current AR session. This is supported on Android.

Hi @tree_arb , you can also check out our AR Foundation demos, specifically the onboarding UX demo.

1 Like

I know this is an old thread, but it´s the first search result in google.
I´m also looking for an “coaching overlay” for Android. Is there any update on this? What is the current way to do it?
Thanks @mfuad

Google does not provide a coaching overlay for ARCore, nor does Unity offer any such “cross-platform coaching overlay”. You would be responsible to design your own coaching overlay for your application’s needs.