Scripts used:
https://github.com/Angelo8828/AR.js/blob/master/aframe/examples/vendor/aframe/build/aframe.min.js
https://github.com/Angelo8828/AR.js/blob/master/aframe/build/aframe-ar.min.js
https://github.com/mayognaise/aframe-gif-shader1
https://www.npmjs.com/package/aframe-text-geometry-component
1 Added fixes for transparent GIFs. Apparently will not work with non-transparent GIFs.
Currently based from AR.js v1.5.1 (specifically, this commit). Please see this issue on how I reduced the borders. Feel free to submit an issue if you have questions or if you have difficulty in running this work.