Hi, we have a locally hosted project that is working well, except that the xrimagefound event listener isnβt firing. The component initializes ok, and the image target is in the image targets section of the project, with load automatically on. Additionally, the same code in a project hosted by 8th wall works ok. Is image tracking supported on projects hosted locally on my machine?
Have you double checked your are using the correct app key in the self-hosted project? Make sure the image targets are uploaded to the project you obtained the app key from in the 8th Wall console. Feel free to share the app key youβre using in the self-hosted project and we can check on our end as well.
I see two image targets associated with the app key youβve shared β one is the jellyfish from the sample project and one appears to be a photo of part of a flyer. I would recommend using the original flyer graphic, not a photo of it. Can you share your code so I can take a quick look over that as well?
Hey Evan, thanks just shared the code with you via pm. Indeed the flyer is just for testing, we plan to use an original graphic for the actual use but will bear that in mind thanks!
Can you add a log inside showObject() to help determine if xrimagefound is being emitted at all? Are you able to get the event to emit using a different image target, like the default jellyfish image?
Hmm it seems to be working now when i set the debug text, iβm not sure if it was a cache or something that got updated but indeed it logs everytime it finds either of the images now. Thanks for your help, sorry I canβt provide more info on how it started working though!