i wonder if the imageTracker can load more than one zpt at the same time, so that i can recognize one than one pic at the same time.
In this README https://www.npmjs.com/package/@zappar/zappar-threejs , i read something below.
Trackers will reuse existing non-visible anchors for new images that appear and thus, until ImageTracker
supports tracking more than one image at a time, there is never more than one anchor managed by each ImageTracker
.
Now the imageTraker can only load the last zpt pass to the function loadTarget() and if i want recognize anthor pic i have to do this:
traker.loadTarget(‘anthorZPT’), it is slow and not stable, and there are lots of pics to recognize. Now i have to make a cycle to like this:
function beginTargetTravers() {
for (let i = 0; i < zpts.length; i++) {
target_timeout = setTimeout(() => {
tracker.loadTarget(zpts[i]);
}, (i + 1) * 500);
}
}
so if there is some solutions about my question please tell me , thanks!!!