title: RealityKit and Reality Composer – Image Recognition
body: <p>I'm working on an application which can recognize an image and then put an AR Node (3D model build with Reality Composer) on top of this image. I want to build this with <code>RealityKit</code>/<code>Reality Composer</code> (which should also support image recognition), but this does not work.</p>
  
  <p>I've already tested if the model worked on a simple horizontal plane, and it did (both in Xcode and the Reality Composer test environment). But when I select an image as anchoring mode, the model does not appear in the Xcode project, while it does appear in the Reality Composer test environment.</p>
  
  <p>I currently use this code to load the Reality Composer project into Xcode:</p>
  
  <pre><code>let arConfiguration = ARWorldTrackingConfiguration()
  arConfiguration.planeDetection = .horizontal
  arView.session.run(arConfiguration)
  
  guard let anchor = try? Spinner.loadScene() else { return }
  arView.scene.anchors.append(anchor)
  </code></pre>
  
  <p>The expected output would be that - when pointed to the correct image - the model appears.</p>