hiukim / mind-ar-js

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

Custom UI docs has a small syntax bug #223

Closed ffd8 closed 2 years ago

ffd8 commented 2 years ago

Amaaazing lib! Unfortunately was running into an issue that every random time it works fine, others it doesn't... was guessing it's an issue about the loading of scripts (aframe being 2mb, mindar 1.2mb, p5 800k etc) = 5.4 mb..! Switching to check if the window is done loading then triggering the start, and thus needed to disable the built in uiloading, which on the custom UI docs page, shows the syntax of:

<a-scene mindar-image="imageTargetSrc: ./targets.mind; uiError=no; uiLoading=no; uiScanning=no"/>

whereas, i guess an update in the lib is now requires:

<a-scene mindar-image="imageTargetSrc: ./targets.mind; uiError:no; uiLoading:no; uiScanning:no"/>
hiukim commented 2 years ago

fixed. thx for pointing out.