hiukim / mind-ar-js

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

image tracking and face tracking on the same app? #307

Closed marcusx2 closed 1 year ago

marcusx2 commented 1 year ago

Can I have an app with both image tracking and face tracking functionalities, or can I only use one of them? I can see from the docs on the event handling part that both image tracking and face tracking have the arSystem variable, but on the facetracking I can switch the camera and on the image tracking I can't. Are they actually different, can I have both or must I choose to have an image tracking experience or a face tracking experience? Thanks!

hiukim commented 1 year ago

You cannot run both at the same time

marcusx2 commented 1 year ago

But can you stop one and start the other, on the same app? Or does the app have to be image tracking only or face tracking only?

hiukim commented 1 year ago

@marcusx2 I haven't tried that, but I think it's possible.