1 Reply
      Latest reply on Apr 4, 2019 2:16 AM by rreimche
      rreimche Level 1 Level 1 (0 points)

        My problem is based on this "classical" example of image recognition with ARKit: https://developer.apple.com/documentation/arkit/recognizing_images_in_an_ar_experience


        I need to not only recognize an image and place an AR-Object but also to work with the recognized image further (not the reference image!). How can I get it? Especially inside renderer(_ renderer: didAdd node: for anchor:).


        As for now I have two hypothesis:

        1. Use Vision framework inside renderer(_ renderer: didAdd node: for anchor:) to recognize what I need. I think, it is possible to get the current image from the camer from the current ARFrame.

        2. Forget renderer(_ renderer: didAdd node: for anchor:), start with Vision, detect what I need and then make a hitTest() on it to add an ARNode.


        I would appreciate a better alternative or maybe some hints on the proposed ways.