hiukim / mind-ar-js

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

Can I used other video stream for AR? #347

Closed langxiankui closed 1 year ago

langxiankui commented 1 year ago

I want to inquiry that could I used other video stream for AR? Or use the video stream in a-scene tag for other functionality like live streaming.

hiukim commented 1 year ago

not with the provided release build. But I imagine you can hack the source code to achieve something like that.

langxiankui commented 1 year ago

not with the provided release build. But I imagine you can hack the source code to achieve something like that.

Can you give me some hints, please? For example, should I import the video stream into , or should I export the video stream from ?

hiukim commented 1 year ago

depends on your use case. It's hard to tell. If you're using aframe version, you probably need to work on this file: https://github.com/hiukim/mind-ar-js/blob/master/src/image-target/aframe.js

langxiankui commented 1 year ago

depends on your use case. It's hard to tell. If you're using aframe version, you probably need to work on this file: https://github.com/hiukim/mind-ar-js/blob/master/src/image-target/aframe.js

Thanks!