AR.js
AR.js copied to clipboard
not able to trigger JS functions based on marker detected
Do you want to request a feature or report a bug?
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.
Please mention other relevant information such as the browser version, Operating System and Device Name
What is the expected behavior?
If this is a feature request, what is motivation or use case for changing the behavior?
please check this link : https://testing-rudr.s3.ap-south-1.amazonaws.com/index.html
i have 5 different markers in it and want to trigger some JS functions based on the marker detected but i am not able to detect which marker is detected, when I try to print the marker id detected it prints the id of all the markers. I have attached the markers as well here
Hi @rudrjaincl are you trying to detect these markers as patterns, i think they are barcode but actaully AR.js does not support them (where did you find them?). I will test your example if i have time. Can say more at the moment.