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.

User Defined Targets Efficiency

Discussion in 'Vuforia' started by Padeus, Apr 14, 2018.

  1. Padeus

    Padeus

    Joined:
    Jan 19, 2018
    Posts:
    2
    Hi. I am using User Defined Targets on my project and I would like to analyse the builded target efficiency. I know that Vuforia API does not let you get/see the features of an Image Target without using the Target Manager. Is there a way to get the "rating" of an Image Target via Unity? Or maybe get the amount of features an Image Target has? I just want to rate the quality of the image defined by the user somehow.

    Thank you.
     
  2. Vuforia-Strasza

    Vuforia-Strasza

    Official Vuforia Employee Vuforia

    Joined:
    Jun 13, 2017
    Posts:
    548
    The IUserDefinedTargetEventHandler Interface provides a functions called "OnFrameQualityChanged" that will update on the current quality of the camera frame. This will be a indication of the number of features present in the current frame and a general indicator of how good a target it will make.

    You can find the API reference here: https://library.vuforia.com/content...uforia_1_1IUserDefinedTargetEventHandler.html

    Our core samples also has an example of this in the User Defined Target scene.
     
  3. Padeus

    Padeus

    Joined:
    Jan 19, 2018
    Posts:
    2
    Nice. I thought that it might have a way to show something like a percentage of how good the image is, but that works even better. Thanks a lot!
     
    Vuforia-Strasza likes this.