Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

ARFoundation - Tracked image - how to get the camera pose wrt to the tracked image

Discussion in 'AR' started by laurenta35, Aug 13, 2020.

  1. laurenta35

    laurenta35

    Joined:
    Jun 23, 2015
    Posts:
    3
    Hi all,

    I managed to create an application based on ARFoundation and Image tracking and it works well.
    I could notice that the camera pose is computed/given in the AR session coordinate system (the origin being the position of the camera when the AR session started).
    But I'd like to be able to get the camera pose with respect to the tracked image i.e. expressed in a coordinate system based on the image.

    For that, I need to get the image position expressed in the AR session coordinate system but I could see it is given only in a self-contained dedicated coordinate system where the position is always (0, 0, 0).

    So I'd like to know how to proceed to get the camera pose wrt the tracked image.

    Thanks in advance