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);
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') });