I need to show a specific image over an ImageTarget when detected.
I read some posts over the subject but can't get it right in iOS.
I have two possible solutions:
- Replace the teapot with a plane and my image as a texture on it.
I tried to make this works with the help of this link : https://library.vuforia.com/articles/Solution/How-To-Draw-a-2D-image-on-top-of-a-target-using-OpenGL-ES but the result is quite unexpected.
- Get 2D coordinates from ImageTarget and use an UIImageView.
It is my next step but I have no idea how to do it.
I saw it is a common request but I can't find the entire solution because many links are dead.
Can someone please share his code to successfully implement one of the two solutions ?
Thanks in advance,