Log in or register to post comments

About AR unit testing

February 3, 2014 - 8:55am #1

Hi,

Because any peace of code should be tested in unit tests, the questions is how to test Vuforia's implementation : 

 - Do you test Vuforia from Camera ?

 - How do you simulate the camera pictures, and it is possible for us to do the same ?

 

I need to avoid regression, so testing an AR example giving the camera a single picture or a video is necessary, but because Vuforia manage the Camera itself, it does not look easy to do..

 

Thanks!

About AR unit testing

February 4, 2014 - 12:57am #3

Hi,

Ok I see, I was expecting this kind of anwser.

Testing the matrix and the video without real tracking is a way to start yes, but the aim of the tests I would like to make, is to test the tracking, even statically (a single image and not a video for the camera) to ensure the same result for the pose matrix.

I assume Vuforia is tested for the regression, but its securing for me to add a test, when possible.

Thanks whatever, I'll see what's possible to be done.

About AR unit testing

February 3, 2014 - 10:41am #2

Hi, Vuforia does not expose an API to feed the tracker with a custom image; 

you can only use the live camera image.

However, if you have a software that relies on Vuforia for tracking, you could test your software components in isolation from Vuforia;

for example, suppose you have implemented a software component that renders a 3D model positioned at the location given by Vuforia (through the Pose), you could imagine to test by feeding your SW module with a "fake" Pose (i.e. simulating the Vuforia Pose); and so on...

 

Log in or register to post comments