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.

Question Magic Leap camera feed reading for OpenCV

Discussion in 'AR' started by tarekelsherif, May 6, 2022.

  1. tarekelsherif

    tarekelsherif

    Joined:
    Mar 8, 2016
    Posts:
    2
    Hi!

    I am currently developing an application on the Magic Leap using Unity, and I wanted to know if there a way through the Magic Leap XR Library to fetch readings from the Magic Leap Camera(s) in a matrix or a texture format for example.

    The goal is that I want to be able to perform OpenCV operations on the camera readings and display some data accordingly.

    Any help with that topic would be appreciated!
     
  2. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    525
    Hi @tarekelsherif

    For Magic Leap 1, the Magic Leap XR Plugin does not implement AR Foundation's Camera subsystem, so you are not able to access the camera image via this plugin. I would recommend reposting this question in the Magic Leap forums to confirm whether LuminSDK supports this feature.
     
  3. tarekelsherif

    tarekelsherif

    Joined:
    Mar 8, 2016
    Posts:
    2