Log in or register to post comments

UserDefined server supplied targets

February 6, 2015 - 12:37am #3

Apart from the sample user defined app being very difficult to follow I am still trying to figure out if what I am trying to do is possible.

The sample takes a frame from the cameraview and users that as the new image target, all good but currently I cannot find the code that assigns the camera image to the image target.

I need to know this because what I want to do is have my app load a series of target images at runtime getting them not from the camera but from a server, so in effect as I add a new image to the server it will during runtime (on a refresh of server data) add this new image to the scene as if it were coming from the camera as in the sample.


Is this possible?



UserDefined server supplied targets

February 10, 2015 - 7:57pm #2

In the UDT sample app, tapping the button to create a target calls the BuildNewTarget() method which prepares a name for the target and calls UserDefinedTargetBuildingBehaviour.BuildNewTarget() which generates the trackable based on the frame in the camera view. The code that generates the target is encapsulated by the API. The IUserDefinedTargetEventHandler callback OnNewTrackableSource() is called as a result of BuildNewTarget() and it delivers the TrackableSource which can then added to the DataSet.

In regards to feeding Vuforia your own images, please see this FAQ:


UserDefined server supplied targets

February 11, 2015 - 10:36am #1

Thanks, that thread answers the question nicely.



Log in or register to post comments