AR.js
AR.js copied to clipboard
Examples not working: "Loading, please wait..."
Do you want to request a feature or report a bug?
What is the current behavior? The example for the Image Tracking is not working. I tried it with 4 different browsers but nothing. Firefox, Chrome, Opera, and Brave. All of them updated to their latest build. I open the provided link from the example and gave the program access to my phone's camera, but it stays in the "Loading, please wait..." forever. The other examples (location and marker) are working just fine.
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 My phone is a Xiaomi Realme 6, Android 11
What is the expected behavior?
If this is a feature request, what is motivation or use case for changing the behavior?
open page in your desktop browser, and take a look at javascript console. it should be an error information
I have exactly the same issue. console says "Error in loading marker on Worker 404".
there is an error in the example.
https://github.com/AR-js-org/AR.js/blob/aaad9847f67a4738b00724c38d9f501d78e0a8af/aframe/examples/image-tracking/nft/index.html#L39
this path ./aframe/examples/image-tracking/nft/trex/trex-image/trex as to be ./trex/trex-image/trex.
how can i submit a PR?
there is an error in the example.
https://github.com/AR-js-org/AR.js/blob/aaad9847f67a4738b00724c38d9f501d78e0a8af/aframe/examples/image-tracking/nft/index.html#L39
this path ./aframe/examples/image-tracking/nft/trex/trex-image/trex as to be ./trex/trex-image/trex.
how can i submit a PR?
I have changed the URL but it's still the same error.
Same issue described above. It is not working. The other examples are, but not this one.
On Mon, May 31, 2021, 06:14 arapps3d @.***> wrote:
there is an error in the example.
https://github.com/AR-js-org/AR.js/blob/aaad9847f67a4738b00724c38d9f501d78e0a8af/aframe/examples/image-tracking/nft/index.html#L39
this path ./aframe/examples/image-tracking/nft/trex/trex-image/trex as to be ./trex/trex-image/trex.
how can i submit a PR?
I have changed the URL but it's still the same error.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AR-js-org/AR.js/issues/277#issuecomment-851348292, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKXOCHUMDJCGDTRBVY7NT7TTQNHP7ANCNFSM45H5UEQQ .
my working code
` <a-scene vr-mode-ui="enabled: false;" renderer="logarithmicDepthBuffer: true;" embedded arjs="trackingMethod: best; sourceType: webcam; debugUIEnabled: false;"
<a-entity
light="color: #ffffff; intensity: 5"
position="-1 1 100"
></a-entity
>x
<!-- use rawgithack to retrieve the correct url for nft marker (see 'pinball' below) -->
<a-nft
type="nft"
url="./trex/trex-image/trex"
smooth="true"
smoothCount="10"
smoothTolerance="0.01"
smoothThreshold="5"
>
<a-entity
gltf-model="./trex/scene.gltf"
scale="20 20 20"
position="0 40 -20"
>
</a-entity>
</a-nft>
<a-entity camera></a-entity>
`
sorry, still not working for me; also not working with the code / new urls- does anybody have this working example online to test?
just change path to ./trex/trex-image/trex
and make sure open the page over https, if you open from localhost will not working.
How can this be a closed issue, when I follow the example on this very documentation and I get the error?
Ok. tested now working with realtive path url to 'root' of your domain
example /AR.js/aframe/examples/image-tracking/nft/trex/trex-image/trex
Ok. tested now working with realtive path url to 'root' of your domain
example /AR.js/aframe/examples/image-tracking/nft/trex/trex-image/trex
Thanks! This finally works for me (full url with https). Unfortunately the tracking of the Trex on the image seems really unstable (at least on Galaxy S8 in Chrome).
i have the same problem, loading marker on worker 404
I still have this issue. None of the above advice worked.
Yes i read about it its ok hope you can fix it soon
El mar., 22 de jun. de 2021 12:48, Kieran @.***> escribió:
I still have this issue. None of the above advice worked.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AR-js-org/AR.js/issues/277#issuecomment-866105302, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALF3GFDZQVQH3P2AEM6NFQ3TUCWE7ANCNFSM45H5UEQQ .
Any updates?
change path to ./trex/trex-image/trex; https it not works for me;but copy 'trex' to root, it works; so i copy 'data' to root ,the nft.html of Three.js sample,it works too;
is there a problem with ‘url’? it not the directory of html,but root
Updated new link in the README now use this one: https://ar-js-org.github.io/.github/profile/aframe/examples/image-tracking/nft/ linked issue #529