Search Unity

Circle detection (AR Foundation)

Discussion in 'AR/VR (XR) Discussion' started by cgeye, Nov 8, 2019.

  1. cgeye

    cgeye

    Joined:
    Mar 5, 2014
    Posts:
    76
    Hi all,

    Just a quick question,

    Is it possible to somehow set up shape detection rather than plane detection? I want to be able to instantiate AR objects on detection of a car tyre (so obviously picking up a circle). Using AR Foundation/Unity 2019.2.11f

    Thanks!
     
  2. juandiegoaw

    juandiegoaw

    Joined:
    Oct 26, 2020
    Posts:
    1
    Hey! Did you manage to find a solution to this? I tried using Augmented Images for this, using a png picture with transparent background but it doesn't seem to work well.
     
  3. KyryloKuzyk

    KyryloKuzyk

    Joined:
    Nov 4, 2013
    Posts:
    1,145
    There is no easy solution to this kind of problem. If you want to augment one specific kind of car tire, I would recommend using ARKit Object Tracking, AR Foundation supports it.
    But if you want to augment ANY kind of tire, this problem is non-trivial and would require writing a custom computer vision algorithm.