Search Unity

How to preprocess image before ARCamera

Discussion in 'Vuforia' started by shivammittal99, Dec 8, 2018.

  1. shivammittal99

    shivammittal99

    Joined:
    Dec 6, 2018
    Posts:
    2
    Hi
    Is there a way by which I can preprocess the camera feed before sending it to ARCamera in Unity?
    I am using the latest versions of both Unity and Vuforia.

    Thanks
     
  2. meedabit

    meedabit

    Official Vuforia Employee Vuforia

    Joined:
    Dec 8, 2016
    Posts:
    266
    Hello,

    The Vuforia Engine SDK is a closed camera pipeline. You cannot pre-process images before they ingress, but we do have APIs to access the images as delivered to the SDK.

    We now offer an External Camera feature: https://library.vuforia.com/content/vuforia-library/en/articles/Solution/external-camera.html which can be made to work in Unity. The driver library implementation needs to be in C/C++, with the library that is included in the Unity project just like the Engine SDK. The Unity project then specifies using the same style call as used in native in C# giving the name of the driver library.

    The latter may meet your use case.

    Thanks,
    Vuforia Engine Support