hiukim / mind-ar-js

Web Augmented Reality. Image Tracking, Face Tracking. Tensorflow.js
MIT License
2.13k stars 394 forks source link

Is it possible to display webm videos with alpha channel? #472

Open hendasheng opened 7 months ago

hendasheng commented 7 months ago

I tried to set the target video to a webm video with alpha channel, but the actual display will automatically add a layer of white background to the video. Does MindAR not support this format or is there something wrong with my settings?

Test link https://mindar-video-3d.glitch.me/01_01-mindar-video-webm.html

Target Image QiaFan

Display Video ezgif com-optimize (8)

hiukim commented 5 months ago

Does that video format works on a regular AFRAME application? I don't think mindar has anything specific that will affect the rendering. if it works on AFRAME, then it should. otherwise, better relay this question to AFRAME community.