Search Unity

ARFoundation and 2D image target tracking

Discussion in 'AR' started by jariwake, Jun 27, 2018.

  1. WagDan

    WagDan

    Joined:
    Nov 7, 2014
    Posts:
    37
    Please any update on delivery estimate?

    It's been a 36 days since release was "immanent".
     
    janlucvd likes this.
  2. Mal_Duffin

    Mal_Duffin

    Joined:
    Jan 22, 2015
    Posts:
    71
    This is starting to look familiar - read this sequence of posts in the link below, up to "However, the Input Team were told in the summer that our team has been discontinued and a new Input Team will be formed instead under a different part of the organization"

    https://forum.unity.com/threads/status-update-on-new-input-system.451818/

    Hopefully the same lack of updates and communication don't lead to the same result, as the potential of a correctly developed, stable ARFoundation project is huge!
     
  3. Saicopate

    Saicopate

    Joined:
    Sep 25, 2017
    Posts:
    76
    Yeah.. the lack of recent AR Foundation updates + no progress updates on Image Tracking and AR Remote are a bit concerning for me too. Except for LWRP support, seems like development of this package has stopped for some reason.
     
  4. KaviAR_Tech

    KaviAR_Tech

    Joined:
    Aug 23, 2018
    Posts:
    4
    I'm interested in this feature, can't wait too
     
  5. flyingaudio

    flyingaudio

    Joined:
    Dec 3, 2010
    Posts:
    98
    What gives me hope, is that AR Foundation was spotlighted at Unity's GDC keynote.
     
  6. ElinH

    ElinH

    Joined:
    Aug 29, 2017
    Posts:
    18
    But no infos about MARS
     
  7. MrLeggo

    MrLeggo

    Joined:
    Feb 16, 2018
    Posts:
    20
    I'm really keen to use image tracking, was just starting to learn AR Foundation. I found Vuforia a bit clunky, so onto AR Kit instead I guess. I'm hoping Foundation will launch fully with 2019.
     
    mende likes this.
  8. Basic50

    Basic50

    Joined:
    Dec 30, 2013
    Posts:
    5
    Do we know if the ARFoundation image tracking will support image anchor update at runtime as in the native ARKit API?
     
  9. StefanoCecere

    StefanoCecere

    Joined:
    Jun 10, 2011
    Posts:
    211
    Basic50 likes this.
  10. Zeratul3D

    Zeratul3D

    Joined:
    Nov 11, 2015
    Posts:
    7
    @jimmya : it would be nice to have an update on this. This module is extremely important and we are delaying projects knowing that it should be released in days. Could you confirm that it's still a thing?

    Thx!
     
    Blarp, mende, AlexSbysh and 4 others like this.
  11. Skeketor23

    Skeketor23

    Joined:
    Apr 6, 2019
    Posts:
    49
    Any news on this?
     
    Blarp and mende like this.
  12. kennyd-itp

    kennyd-itp

    Joined:
    Jan 13, 2014
    Posts:
    30
    The delay and lack of info is also quite disappointing for us; we have several mobile AR projects ongoing and have had to switch back from ARFoundation to ARKit + ARCore on some as it's become clear the ARFoundation update isn't coming as soon as expected.

    I'm sure you guys are working hard to get this in our hands, but any realistic update on timing would be helpful!
     
  13. SgiLearn

    SgiLearn

    Joined:
    Sep 4, 2018
    Posts:
    5
    tdmowrer posted this in the 'arfoundation-1-0-0-preview-22-released' thread last Friday.
     
    Skeketor23 likes this.
  14. janlucvd

    janlucvd

    Joined:
    Jun 8, 2013
    Posts:
    21
    I see that 2019.2a is available for download. Has the preview package been released?

    Furthermore, has anyone tried this XZIMG plugin?
     
  15. mavisakal

    mavisakal

    Joined:
    Aug 26, 2017
    Posts:
    15
    I'll release my AR Foundation app for IOS at first . So I wonder if we can use a hybrid solution using AR Foundation + ARKit 1.5 Image Anchor ? If so are there any examples. This will be a workaround, I'll change this after the image tracking is released for ARFoundation.
    Thanks,
     
  16. pjchardt

    pjchardt

    Joined:
    Jul 16, 2015
    Posts:
    7
    heya all! I wrote a simple image detection/anchoring framework for arkit and arcore for an art show coming up, repo here. it is bare bones and only does image detection but it works well enough for my purposes. Anyone wants to test some image tracking across android/ios devices might find some value in it (for a few weeks until it is obsolete!) I don't think it will work with arfoundation though as I think I saw a post that said that arfoundation and arcore/arkit in the same project throws errors.
     
  17. MrLeggo

    MrLeggo

    Joined:
    Feb 16, 2018
    Posts:
    20
    So 2019.1 has been released!

    Does anyone have any idea how to use the image tracking (which should be part of this release)?

    So far I can't find anything that looks related...
     
  18. TechnicalArtist

    TechnicalArtist

    Joined:
    Jul 9, 2012
    Posts:
    736
  19. xAvatarchikx

    xAvatarchikx

    Joined:
    Aug 17, 2012
    Posts:
    69
    Hi! Is there any progress in this functionality? Maybe it is possible to somehow cross-link with ARKit ?, I tried, but without the source of the ARKit XR Plugin, it’s impossible to do this as I understood ...
     
  20. mavisakal

    mavisakal

    Joined:
    Aug 26, 2017
    Posts:
    15
    Hi xAvatarchikx,
    I lost my hope with this feature. I tried to add ARKit Image Tracking components to ARFoundation Scene but it didn't work.
     
  21. MrLeggo

    MrLeggo

    Joined:
    Feb 16, 2018
    Posts:
    20
    They officially announced image tracking on their road map, so I'm assuming its in their somewhere..
     
  22. mavisakal

    mavisakal

    Joined:
    Aug 26, 2017
    Posts:
    15
    @MrLeggo , in that video it says image tracking will be available in version 2019.1 which is already released. I think they'll release image tracking in version 2019.2 which is in alpha stage right now.
     
    MrLeggo likes this.
  23. MrLeggo

    MrLeggo

    Joined:
    Feb 16, 2018
    Posts:
    20
    Yes, I assumed the feature is in there, just that I wasn't smart enough to find it!
     
  24. mtalbott

    mtalbott

    Joined:
    Dec 21, 2011
    Posts:
    125
    I'm just going to add some speculation here but I would think now that it's almost May and Unity appears to have gone quiet on the subject, they are probably working with ARKit 3.0 and will not be releasing an update to AR Foundation until ARKit 3.0 is announced at WWDC. So my guess is we'll get the next update June 3rd.
     
    MrLeggo and mavisakal like this.
  25. MrLeggo

    MrLeggo

    Joined:
    Feb 16, 2018
    Posts:
    20
    Hmm, smart thinking!
     
  26. Christopher-Anderson-GISP

    Christopher-Anderson-GISP

    Joined:
    Mar 5, 2015
    Posts:
    19
    @jimmya i'm sure you're getting tired of everyone hounding you with regards to image tracking functionality in the AR Foundation as it's a key feature that's missing for many people (having to deal with both plugins in the same app is not fun and the AR Foundation has been a god send).
    With that said, are you able to confirm or deny the speculation of getting an updated version (with image tracking) on or around June 3rd? I think I can speak for a lot of people waiting on this feature that even telling us that the dev team is struggling with something is better than just saying it's coming soon or is imminent and then a month or more passes. Is it because you are working on compatibility with ARKit 3.0? Is the struggle on the ARKit side or the ARCore side (we're all devs here so I'm sure all of us can relate to the struggles of bugs)?
    Any details you can pass on to us would be greatly appreciated. Thank you and thanks to all of the Unity team who are working on this.
     
    kelany, MrLeggo and Blarp like this.
  27. AgileLens

    AgileLens

    Joined:
    Mar 5, 2019
    Posts:
    10
  28. xAvatarchikx

    xAvatarchikx

    Joined:
    Aug 17, 2012
    Posts:
    69
    Version 1.5 preview added support for marker tracking!
     
  29. merpheus

    merpheus

    Joined:
    Mar 5, 2013
    Posts:
    202
    You mean arfoundation ? I don't see any 1.5 version?
     
  30. xAvatarchikx

    xAvatarchikx

    Joined:
    Aug 17, 2012
    Posts:
    69
  31. janlucvd

    janlucvd

    Joined:
    Jun 8, 2013
    Posts:
    21
    I'm ready to drink the kool-aid on xAvatarchikx cryptic claim.
     
    Blarp likes this.
  32. shawww

    shawww

    Joined:
    Sep 30, 2014
    Posts:
    43
    @xAvatarchikx Any possible you could post the bare bones project? I have no idea how you're seeing what you're seeing, but I'm only seeming Version 1.1.0, even with preview packages on :-/
     
  33. xAvatarchikx

    xAvatarchikx

    Joined:
    Aug 17, 2012
    Posts:
    69
    Blarp likes this.
  34. merpheus

    merpheus

    Joined:
    Mar 5, 2013
    Posts:
    202
  35. shawww

    shawww

    Joined:
    Sep 30, 2014
    Posts:
    43
    @m3rt32 just got it working by copying and pasting above manifest.json into the packages>manifest.json in the project.
    @xAvatarchikx thank you so much!
     
    Blarp likes this.
  36. shawww

    shawww

    Joined:
    Sep 30, 2014
    Posts:
    43
    @janlucvd just wanted to make sure you saw this-- solution posted above
     
  37. mavisakal

    mavisakal

    Joined:
    Aug 26, 2017
    Posts:
    15
    hi @shawww ,
    json link is broken. Can you upload it please?
     
  38. merpheus

    merpheus

    Joined:
    Mar 5, 2013
    Posts:
    202
    Alrighty thanks!

    Pal, link is not broken. Pastebin is just blocked in our lovely country. Here is another link that you can use:
    https://paste.ubuntu.com/p/y4MTG45jYn/
     
  39. janlucvd

    janlucvd

    Joined:
    Jun 8, 2013
    Posts:
    21
    Where exactly do I paste that text exactly? I don't see a manifest.json in Unity.

    Also - anyone get an image track to work?
     
  40. MrLeggo

    MrLeggo

    Joined:
    Feb 16, 2018
    Posts:
    20
    Ooh, thanks, this is interesting. I'm have some success, but seem to be stuck with this error:

    Library\PackageCache\com.unity.xr.arfoundation@1.5.0-preview.1\Runtime\AR\ARSessionOrigin.cs(2,19): error CS0234: The type or namespace name 'SpatialTracking' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

    Anyone else run into this? Unity 2019.1.1
     
  41. MrLeggo

    MrLeggo

    Joined:
    Feb 16, 2018
    Posts:
    20
    So using Windows explorer (not inside Unity itself) Mine was in the top project folder in Packages. That folder should be next to the Assets, Library and Temp folders. If tat helps at all...
     
  42. janlucvd

    janlucvd

    Joined:
    Jun 8, 2013
    Posts:
    21
    Awesome Thx! It loaded. But until someone makes a tutorial video / manual I'm not talented enough to prepare a custom image to be tracked by a camera & have a 3D object reveal. I look forward to that day!
     
  43. MrLeggo

    MrLeggo

    Joined:
    Feb 16, 2018
    Posts:
    20
    Great! it shows up on mine but I cannot use it due to an error that I have yet to fix!
     
  44. shawww

    shawww

    Joined:
    Sep 30, 2014
    Posts:
    43
    @MrLeggo you need the dependencies, including Legacy XR Input Helpers i believe.

    @janlucvd The ARFoundation docs note it. It's basically the same tutorial as ARKit 1.5 image targets (lots of tuts for that on YouTube), and you create the image asset the same way (it's a scriptable object, you add a texture reference to your target in the inspector and that's it). ARFoundation gives you a few handlers for on plane found, on plane lost, just hook into those instead of the ARKit ones. Unity has a great tutorial on C# delegates if you see the "+=" operator and get nervous.

    JSON for future necroing:


    {
    "dependencies": {
    "com.unity.package-manager-ui": "2.1.2",
    "com.unity.quicksearch": "1.0.9-preview",
    "com.unity.textmeshpro": "2.0.1",
    "com.unity.xr.arcore": "1.5.0-preview.1",
    "com.unity.xr.arfoundation": "1.5.0-preview.1",
    "com.unity.xr.arkit": "1.5.0-preview.2",
    "com.unity.xr.legacyinputhelpers": "2.0.2",
    "com.unity.modules.ai": "1.0.0",
    "com.unity.modules.animation": "1.0.0",
    "com.unity.modules.assetbundle": "1.0.0",
    "com.unity.modules.audio": "1.0.0",
    "com.unity.modules.cloth": "1.0.0",
    "com.unity.modules.director": "1.0.0",
    "com.unity.modules.imageconversion": "1.0.0",
    "com.unity.modules.imgui": "1.0.0",
    "com.unity.modules.jsonserialize": "1.0.0",
    "com.unity.modules.particlesystem": "1.0.0",
    "com.unity.modules.physics": "1.0.0",
    "com.unity.modules.physics2d": "1.0.0",
    "com.unity.modules.screencapture": "1.0.0",
    "com.unity.modules.terrain": "1.0.0",
    "com.unity.modules.terrainphysics": "1.0.0",
    "com.unity.modules.tilemap": "1.0.0",
    "com.unity.modules.ui": "1.0.0",
    "com.unity.modules.uielements": "1.0.0",
    "com.unity.modules.umbra": "1.0.0",
    "com.unity.modules.unityanalytics": "1.0.0",
    "com.unity.modules.unitywebrequest": "1.0.0",
    "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
    "com.unity.modules.unitywebrequestaudio": "1.0.0",
    "com.unity.modules.unitywebrequesttexture": "1.0.0",
    "com.unity.modules.unitywebrequestwww": "1.0.0",
    "com.unity.modules.vehicles": "1.0.0",
    "com.unity.modules.video": "1.0.0",
    "com.unity.modules.vr": "1.0.0",
    "com.unity.modules.wind": "1.0.0",
    "com.unity.modules.xr": "1.0.0"
    },
    "registry": "https://staging-packages.unity.com"
    }
     
  45. xAvatarchikx

    xAvatarchikx

    Joined:
    Aug 17, 2012
    Posts:
    69
    Open path "Project\Library\PackageCache\com.unity.xr.arkit@1.5.0-preview.2"
    find file Unity.XR.ARFoundation.asmdef and Unity.XR.ARFoundation.Editor.asmdef
    add references:
    UnityEngine.SpatialTracking
    https://monosnap.com/file/jE7JSnLjIgfbpLpzKmrhtRMAuQ5RGv
     
  46. Flamacore

    Flamacore

    Joined:
    Dec 17, 2013
    Posts:
    140
    Well it seems to have all the scripts needed now and seems like it should work (thanks to @xAvatarchikx ) but I'm lost on how to do this. I add an AR Tracked Image Manager next to the session origin, create an image library, add my marker and indicate a cube prefab with AR Tracked Image script attached to it to the Tracked Image Prefab variable but nothing shows up anywhere.

    Anybody made any progress on this? Any sample project would help gigantically :)
     
  47. tdmowrer

    tdmowrer

    Joined:
    Apr 21, 2017
    Posts:
    605
    Hi folks,

    The staging registry is part of our internal deployment process. ARFoundation 1.5 will indeed support image tracking, and the recent activity on the staging registry is a result of our publishing process. However, there are additional dependencies which have not yet been published.

    When it is officially published, the ARFoundation Samples GitHub repo will be updated with samples for the new features.

    See also @mdurand 's response to a similar question here.
     
    StefanoCecere, Blarp and MrLeggo like this.
  48. Blarp

    Blarp

    Joined:
    May 13, 2014
    Posts:
    270
    Hows LWRP looking with 1.5?
     
  49. otb72

    otb72

    Joined:
    Nov 2, 2018
    Posts:
    1
    TechnicalArtist and MrLeggo like this.
  50. Go_Psychic

    Go_Psychic

    Joined:
    Sep 27, 2018
    Posts:
    1
    MrLeggo likes this.