AR-js-org / AR.js

Image tracking, Location Based AR, Marker tracking. All on the Web.
MIT License
5.37k stars 919 forks source link

NFT ImageTraking: image detected, but elements not shown #416

Open ljDevelopment opened 2 years ago

ljDevelopment commented 2 years ago

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

Custon NFT detected, but elements are not positioned on the marker.

If the current behavior is a bug, please provide the steps to reproduce.

  1. https://manyworlds.synology.me/manyworlds/development/war/arjs/index9.html
  2. (open the website inspector to see the console)
  3. Use this marker: https://manyworlds.synology.me/manyworlds/development/war/arjs/moon.jpeg; its a bit tough, I have to put it near the camera. --> This message is logged: [info] Tracked page 15809416 (max 0). --> My own log is logged: 'markerFound' --> Opening the A-frame inspector (ctrl+alt+i), you can see the entities in the a-nft component; this one is set as 'visible: true', but it doensn't follow the marker.

Please mention other relevant information such as the browser version, Operating System and Device Name

MacOs 12.1 Monterey

Google Chrome Chrome is up to date Version 100.0.4896.88 (Official Build) (x86_64) What is the expected behavior?

I expected to see a sphere on the marker.

If this is a feature request, what is motivation or use case for changing the behavior?

kalwalt commented 2 years ago

@ljDevelopment probably your nft marker has low dpi, to check the dpi of your marker you can use the FeatureSET-Display online tool. It is always recommended a dpi of 300 (or around it). If less rebuild your NFT markers with that dpi values.

ljDevelopment commented 2 years ago

Hi, Two points here:

  1. Image is tracked, but its entities are not shown. --> BUG

  2. NFTs are difficult to detect The image used is completely functional in 8thWall: https://manyworlds.synology.me/manyworlds/development/war/arjs/moon.jpeg https://manyworlds.synology.me/manyworlds/development/war/arjs/moon.iset https://manyworlds.synology.me/manyworlds/development/war/arjs/moon.fset https://manyworlds.synology.me/manyworlds/development/war/arjs/moon.fset3

Also tried the T-Rex used as an example: https://manyworlds.synology.me/manyworlds/development/war/arjs/trex.jpeg https://manyworlds.synology.me/manyworlds/development/war/arjs/trex.iset https://manyworlds.synology.me/manyworlds/development/war/arjs/trex.fset https://manyworlds.synology.me/manyworlds/development/war/arjs/trex.fset3

danineuss commented 4 months ago

I believe I am experiencing the same issue: image

The debug console seems to indicate that the image was detected but the child within the scene is not shown (adapted the public example): image