artoolkitx / jsartoolkit5

Javascript ARToolKit v5.x
https://artoolkitx.github.io/jsartoolkit5/examples/
Other
292 stars 69 forks source link

Barcode recognition and No matter what picture is placed, the idMatrix in the result is 0? #107

Open maryjoohn opened 3 years ago

maryjoohn commented 3 years ago

const cameraPara = new ARCameraParam('./camera_para.dat',function(){ const arController = new ARController(window.innerWidth, window.innerHeight, cameraPara); arController.addEventListener('getMarker', function (ev) { console.log('found marker?', ev);//No matter what picture is placed, the idMatrix in the result is 0? }); arController.process(v1);

},function(){ console.log('error') });