hiukim / mind-ar-js

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

RangeError #112

Closed anishjiben closed 2 years ago

anishjiben commented 2 years ago

HI, I am getting RangeErrror:Extra 3679 byte(s) found at buffer[1]. Attached the screenshot of the error. image

Here is my code image

function loadMarkers() { imageSample = "imageTargetSrc: " + "url to .mind"; var sceneNode = document.getElementById("#scene"); sceneNode.setAttribute("mindar-image", imageSample); }

Any Idea why this error appears ? Thank you

hiukim commented 2 years ago

What's the purpose of usingloadMarkers method to add this mindar-time attritube?

I'm not sure this will work. AFRAME might have already initialized.

hiukim commented 2 years ago

closing it now. feel free to reopen if you have more information.