"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Accessing camera image in Unity - OnTrackablesUpdated

Hi everyone,

I've followed this tutorial provided by Vuforia on how to access the camera image in Unity. In the tutorial it's recommended to access the camera image from the OnTrackablesUpdated() callback as "that way you can ensure that you retrieve the latest camera image that matches the current frame".

I have a couple of questions regarding this:

1. If instead of wanting to access the camera image that matches the current frame I'm interested in accessing the camera image as fast as possible (i.e. accessing as many frames as possible), even if that means it's not the frame currently being displayed, how would I go about it? Should I simply access the camera image in Unity's Update() function?

2. When is OnTrackablesUpdated() actually called? If the event "all trackables updated" is registered, is the function called right before the following Update()? (This would match the way current Input Events in Unity are handled, according to the execution order)

Thank you very much in advance for your help!

Hello,

[quote=martejpad]

Hello,

[quote=martejpad]

martejpad

Wed, 05/17/2017 - 17:46

Hi Medabit,

Thank you so much for such a thorough reply, it is hugely helpful to know these details.

I’ll explain a bit more my use case and my current setup:

Hello,

These are good points. Thank you for the detailed feedback.

alkhamisah

Wed, 07/25/2018 - 12:53

I know that this subject has been asked in like 100 threads but they are all old and no documentation is available about accessing images without augmentation.