1

Is it possible to change the overlay image after a certain time or period with using the WikiTude ImageTarget? Even live without restarting the camera view?

sj0rske
  • 417
  • 4
  • 12
  • @sjOrske have you found any solution? I am looking for same in android. – Jay Shah Jun 14 '16 at 05:02
  • @JayShah I did not, but I think you have to do this with a Ajax request in the javascript. I currently not working with wikitude. – sj0rske Jun 14 '16 at 13:42

1 Answers1

1

If you have a AR.ImageDrawable (var overlay = new AR.ImageDrawable(img, 1,{}); ) you can change the image resource by calling overlay.imageResource = newImg; Put this code into a function and call it with a timer or anything else.

Hope I've been able to help you.

Kukic Vladimir
  • 1,010
  • 4
  • 15
  • 22
Michael
  • 26
  • 2