Log in or register to post comments

Tracking in varying lighting conditions

October 14, 2018 - 6:46am #1

hi,

I am quiet new to Vuforia. I am supposed to demonstrate object recognition on top of an equipment. I have captured the photo and all works fine including the augmentation. However for the augmentation to work properly the lighting condition has to be same as per when the photo was taken, any slight changes in shadows and lighting and the tracking doesn't work. The equipment is outdoors and Vuforia documentation does recommend indoor lighting however in my case I don't have an option.

Is there a way I can fix this issue so that the tracking can still work with at least subtle differences in lighting and shadows?

One of the possible ways I was thinking is take photos of the equipment from the same angle under different day light conditions [like morning, afternoon, evening, night] and load them into the databases. And based on time of the day I call the relevant database image target - not sure if this is possible.

Please can someone help and also any other ideas if possible request you to share. Thank you.

Tracking in varying lighting conditions

November 22, 2018 - 11:29am #7

I have now completed the project and didnt had a complete success.

Vuforia's inability to augment in different lighting conditions failed.

I think Vuforia has to take this up as a critical issue as most use cases will need to have this flexibility.

This is a serious shortcoming and Vuforia has to fix this on priority.

Honest feedback from a developer.

 

Tracking in varying lighting conditions

October 16, 2018 - 3:17pm #6

Hello,

Dynamic database loading is demonstrated in our sample apps on the Unity Asset Store.

I suggest you review our Core Samples, specifically /Assets/Common/Scripts/TrackableSettings.cs for best practices.

Thanks,

Vuforia Engine Support

Tracking in varying lighting conditions

October 16, 2018 - 12:37pm #5

Yes I did try today on loading datasets using the DynamicDataSetLoad script.

 

I wanted to call the method LoadDataSet() passing a string parameter which is basically the dataset name. However I am not successful in doing it.

 

Can you guide me to a simpler way on how to load datasets dynamically maybe using a UI button trigger.

 

 

 Type your code in the box. To create a new line within the box use SHIFT + ENTER. 

Tracking in varying lighting conditions

October 16, 2018 - 11:15am #4

Hello,

XRARVR wrote:

1. Have multiple image targets in the same database? like 4 photographs taken during different time of the day.

Using multiple images of the same object, and putting them in same database, could confuse our detector. I suggest that you create separate databases, one for each time of day image, and only load the database that corresponds with the time of day. As all loaded databases are stored in a single search tree during runtime, be sure to unload a database when it is no longer used.

XRARVR wrote:

Is it possible to get the trigger for the time of the day and load the appropriate image target?

Absolutely. The Vuforia APIs exist. You'll just need to tie their logic with device time calls to choose which database to load.

Thanks,

Vuforia Engine Support

Tracking in varying lighting conditions

October 15, 2018 - 8:27pm #3

Thanks for the support. Yes indeed I have seen a few ideas on loading databases on runtime. I wanted to achieve the following.

1. Have multiple image targets in the same database? like 4 photographs taken during different time of the day.

2. Load the image target as per the time of the day

Is it possible to get the trigger for the time of the day and load the appropriate image target? This was I can make sure the augmentation always work.

Thanks for the help.

 

 

 

Tracking in varying lighting conditions

October 15, 2018 - 1:44pm #2

Hello,

You are correct in that environmental lighting can negatively affect detection and tracking. The problem with outdoor lighting (e.g. sunlight) is that the strong intensity can introduce shadows and spectral reflections which fundamentally alter the appearance of what our algorithms are expecting.

It is possible to load and unload target databases during runtime. Please let me know if you need any additional assistance with that, but the concepts are normally covered in our free sample apps.

Good luck!

-Vuforia Engine Support

Log in or register to post comments