I am using the simple arjs example to my angular project but i cannot get any results using the hiro marker.
This is the code:
<a-scene embedded arjs>
<a-box position='0 0.5 0' material='opacity: 0.5;'></a-box>
<a-marker-camera preset='hiro'></a-marker-camera>
</a-scene>
When I point my smartphone to a hiro marker nothing happens.
Is this because my device is not supporting AR? I have a Xiaomi redmi note 6 pro.
I read that in order for the AR to work on the device I need to have AR Google services which are not supported by my device.
Does arjs need AR google services in order to work? If not what are the other reasons?
PS.
- I am on https and the camera is open.
- I am on an angular project and I am importing the scripts on the index.html head
these are the scripts:
<script src="https://aframe.io/releases/0.8.0/aframe.min.js"></script>
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/master/aframe/build/aframe-ar.js"> </script>