hiukim / mind-ar-js

Web Augmented Reality. Image Tracking, Face Tracking. Tensorflow.js
MIT License
2.13k stars 394 forks source link

Tracker distance configuration #448

Open Avataw opened 10 months ago

Avataw commented 10 months ago

Hey there,

I am currently working on a Augmented Reality Sketchbook. The problem is that the tracking stability and quality improves the further away the mobile device camera is from the actual image target.

In the .mind file (and in the code for the generation of the .mind file) I can see that there are multiple "scale" levels.

Is it somehow possible to disregard scale 6-11 and just focus on 1-5? I'd love to have more tracking anchors there to improve the stability and tracking capability in general.

I'd be open to investigate this by my self as well and create a PR if you give me some pointers in the right direction as well :)

hiukim commented 5 months ago

I doubt that would help, but you can try. You modify the function buildImageList here.

https://github.com/hiukim/mind-ar-js/blob/master/src/image-target/image-list.js