8 Replies
      Latest reply: Jul 30, 2017 1:40 AM by aledalgrande RSS
      axaiOS Level 1 Level 1 (0 points)

        Is there anyway to persit anchors across sessions (different launches of the app)?

        • Re: Persist anchors across sessions
          Michael Austin Level 1 Level 1 (10 points)

          I was wondering the same thing yesterday. I will talk to some of the Apple engineers this week to get a more clear answer, but I think it would be cool if you could use Machine Learning to identify and recognize persistent landmarks.

          • Re: Persist anchors across sessions
            interval Level 1 Level 1 (0 points)

            I'll add a "me too" on this. Saving and loading tracked anchors is a must for this platform... 

            • Re: Persist anchors across sessions
              stepanstulov Level 1 Level 1 (0 points)

              As far as I udnerstand there are no persistence APIs yet. I couldn't support the need for the functionality more. It will be great to have anchors persistr per app (equivalent of HoloLens's WorldAnchorStore) and into an app-independent binary file to pass around (equivalent of HoloLens's WorldAnchorTransferBatch). The latter case is especially important for industrial use cases where time is gold and you'd want to map you scneario anchors once and then distribute the anchor list file onto another iOS devices so they can recognise/localise the anchors against their own sensory data. Fingers crossed.

              • Re: Persist anchors across sessions
                funnest Apple Staff Apple Staff (135 points)

                Sorry this isn't supported. Each session is entirely new from one execution of the app to the next. Tracking is all relative to the starting position of the session and anchors are reset.

                 

                @stepanstulov Thanks for explaining the use-case but please also follow up with a feature request at http://bugreporter.apple.com/

                • Re: Persist anchors across sessions
                  aledalgrande Level 1 Level 1 (10 points)

                  No need for AI, I think. You could use a mix of GPS positioning and semantic grouping of features (for which you have to extract your own descriptors, Apple doesn't give you access to that nor say which feature extractor they are using), like Bag of Words. An example of how it is used to detect trajectory loops (meaning when you get back to the same place) is here https://github.com/raulmur/ORB_SLAM2 (careful, no c&p, it's GPL!)

                   

                  Basically, it's your rudimentary representation of a location. Using a lighting/rotation/scaling invariant feature extractor will make it more likely to detect the same location again. Save the bag of words, with GPS position if outdoors, for each location and you will be able to use them in the next session or share them with a friend.