An Image Observer can also be created without the need for an ActorComponent, this is made possible with our Custom K2Node, built specifically for creating ImageObservers using different source types:
With this new function, you can select from what source you want to create an Image Observer, and the function will automatically update the left input pin and the right output pins, to match the selected source type.
To use the Observer Factory you need to:
- First, choose the source of your Image Target from the dropdown “Creation Source Type”, you’ll have multiple choices, depending on what is supported by the Vuforia SDK and the Vuforeal plugin.
- Next, configure your target with the Struct Input:
For example, if you choose “Target DB Config”, you’ll get the “Image Target DB Config” struct.
This allows you to configure a target using the Database name and target name.
The Image Observer Factory will output an Image Observer Object, make sure to save a reference to this object so you can control the activity of the Observer later on or get Observations info.
For more details with a practical example, you can check the provided BP actor in the “Vuforeal_Project_Sample” under Content/BPs/BP_ImageObserverFactory