Search Unity

Resolved Plane detection Coaching android, or ARCoachingOverlayView - ARFoundation

Discussion in 'AR' started by tree_arb, Nov 19, 2020.

  1. tree_arb

    tree_arb

    Joined:
    Dec 30, 2019
    Posts:
    323
    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

    Code (CSharp):
    1. if (arPlane.size.magnitude > 2 )
    2.             {
    3.                   // stop scanning
    4.              }
    so basically when the plane is of certain size I assume its probably got a plane decent enough. Any other suggestions?


    ARCoachingOverlayView.
    https://developer.apple.com/design/...es/ios/system-capabilities/augmented-reality/

     
    Last edited: Nov 20, 2020
  2. tree_arb

    tree_arb

    Joined:
    Dec 30, 2019
    Posts:
    323
    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.
     
  3. KyryloKuzyk

    KyryloKuzyk

    Joined:
    Nov 4, 2013
    Posts:
    1,144
  4. mfuad

    mfuad

    Unity Technologies

    Joined:
    Jun 12, 2018
    Posts:
    335
    Hi @Treecrotch, you can also check out our AR Foundation demos, specifically the onboarding UX demo.
     
    tree_arb likes this.
  5. Railon23

    Railon23

    Joined:
    Jan 30, 2014
    Posts:
    32
    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
     
  6. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,062
    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.