I successfully hosted AUGMENTED REALITY on my SWCP server -- at THIS LINK.
Hoover the smart phone over this "target" image
to summon an AR overlay
- It also scans, but nothing else, from the code I posted on my blog
However when I follow the MINDAR tutorial -- I am unable to construct and host my own AUGMENTED REALITY.
From THIS LINK -- the image scans, but fails to recognize the target and overlay an AR object -- PaperPose.GLB -- over it:
The "Target" image
from the AR experience I constructed
ERROR MESSAGE
- getUserMedia error NotAllowedError: Permission denied
- mindar-image-aframe.prod.js:20756
PERMISSION DENIED
THE CODE
<a-scene mindar-image="imageTargetSrc: targets.mind;" color-space="sRGB" renderer="colorManagement: true, physicallyCorrectLights" vr-mode-ui="enabled: false" device-orientation-permission-ui="enabled: false">
<a-assets>
<img id="card" src="tar.png" />
<a-asset-item id="avatarModel" src="Paperpose.glb"></a-asset-item>
</a-assets>
<a-camera position="0 0 0" look-controls="enabled: false"></a-camera>
<a-entity mindar-image-target="targetIndex: 0">
<a-plane src="#card" position="0 0 0" height="0.552" width="1" rotation="0 0 0"></a-plane>
<a-gltf-model rotation="0 0 0 " position="0 0 0.1" scale="0.005 0.005 0.005" src="#avatarModel" animation="property: position; to: 0 0.1 0.1; dur: 1000; easing: easeInOutQuad; loop: true; dir: alternate">
NOT THE SOLUTION
Changing to this line below did not work -- the website would not even try to scan the image:
https://cdn.jsdelivr.net/npm/mind-ar@1.1.5/dist/mindar-image-three.prod.js
Other solutions on the Internet:
- Some bugs and questions. IOS view and camera viewpoint zoom android
- A-Frame Installation
- MindAr not loading when setting mindar-image attribute by code
- MindAR white screen issue
- Marker-based image tracking using MindAR and React
- How to correctly display video on the MindAR Target
- I have been trying to build and use the dist, but I'm getting this error
- Tutorial on how to make object stays visible even when the image target is lost
- Play gif in WebAR
- Unstable AR Content and Ineffective Tracking Configurations in MindAR
Again, the object is to create AUGMENTED REALITY experiences from a fixed "TARGET" -- like I did successfully with PICTARIZE.
- Last year I experimented with MINDAR, but was not successful.
.png)



No comments:
Post a Comment
Note: only a member of this blog may post a comment.