hiukim / mind-ar-js

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

Question regarding track multiple targets #401

Closed HuzaifaKhan20 closed 1 year ago

HuzaifaKhan20 commented 1 year ago

Hi @hiukim I want to ask you that:

I want to track multiple targets simultaneously but I am unable to combine multiple mind files so how can I do it?

Whether the solution is to combine multiple mind files or to create a single mind file with a single frame containing multiple images?

I want to learn about the .mind file extension and how the image is compiled into the .mind file. So kindly tell me any resource where I can learn from?

carlesgutierrez commented 1 year ago

Hi @HuzaifaKhan20 , What is exactly not working for you? Did you tried with the example multiple targets? In my case I've tried and worked combine multiple targets. You just have to do drag and drop you your too tracker images into the image target compiler. Not idea what scale is the best or better, but I like to do some scaling "just in case" ( scale 5 ).

Just trying to help, but probably you already did all this Cheers!

several_images_targetCompiler several_images_targetCompiler_scale

HuzaifaKhan20 commented 1 year ago

Thanks @carlesgutierrez for your kind help.

I have tried the above way but it only detects a single image in my case. but I downloaded the whole repository and then after installing node packages I successfully combined multiple images into a single mind file.