I try to track arbitrary data matrices (2D barcodes). For that I wrote a plugin and I now have the location in the current frame for the data matrix. My question is how can I now track this location (to add descriptions etc, depending on the data matrix content). I tried instant tracking but it seems to require user definition of the location. So can I define dynamically a trackable object/ target?
Any help is very much appreciated.
the problem is not reading the Barcodes (I am using ZXing for that); it is to locate the barcode to project data besides it. I have the detected edges of the barcodes and would like register some kind of instant tracking to track the position of the read barcode (at least as long it is visible). I thought the instant tracking feature would suffice for this, but it was lacking in the aspect that I could not find a way to specify the location of the instant tracking programmatically.
What I want can be achieved through creating an image target programmatically from a picture (kind of like Vuforia's user defined image targets), if it helps to visualize what we need.
it's kinda what I was looking for. I hoped I could do that without another library just within Wikitude.
Seems like I have to create AR.Positionable and use something like OpenCV to track the data matrices, I reckon.