使用xr-assets 绑定glb模型 xr-ar-tracker放入图片和上面xr-gltf进行绑定 然后识别https://api.mifuxing.net/statics/ar/img02.jpg 识别失败
<xr-scene ar-system="modes:Marker;planeMode: 3" id="xr-scene" bind:ready="handleReady" bind:ar-ready="handleARReady" bind:log="handleLog">
<xr-assets bind:progress="handleAssetsProgress" bind:loaded="handleAssetsLoaded">
<xr-asset-load type="gltf" asset-id="maku" src="https://api.mifuxing.net/statics/ar/img01.glb"/>
</xr-assets>
<xr-env env-data="gz-haixinsha" />
<xr-node>
<!-- 识别图片 -->
<xr-ar-tracker id="ar-tracker" mode="Marker" src="https://api.mifuxing.net/statics/ar/img02.jpg" bind:ar-tracker-state="handleARTrackerState1">
<xr-gltf id="wxball-1" position="0.2 0.7 -0.25" scale="0.025 0.025 0.025" rotation="-90 0 0" model="maku" anim-autoplay bind:gltf-loaded="handleGLTFLoaded" wx:if="{{isShow}}"></xr-gltf>
</xr-ar-tracker>
<xr-camera id="camera" node-id="camera" position="1 1 1" clear-color="0.925 0.925 0.925 1" far="2000" background="ar" is-ar-camera></xr-camera>
</xr-node>
<xr-node node-id="lights">
<xr-light type="ambient" color="1 1 1" intensity="2" />
<xr-light type="directional" rotation="90 60 0" color="1 1 1" intensity="1" />
</xr-node>
</xr-scene>
这里没人回。可以进微信群里问下,应该有人遇到过,不过人太多了,只能+wx:wdmwjm ,邀请进