homuler / MediaPipeUnityPlugin

Unity plugin to run MediaPipe
MIT License
1.76k stars 461 forks source link

Multiple Cameras and RTabmap? #311

Closed TKTSWalker closed 2 years ago

TKTSWalker commented 2 years ago

I'm going to be using this plugin as a driver for my smartglasses, is there any way to allow multiple cameras to run for the same scene? Also can RTabmap be used?

homuler commented 2 years ago

is there any way to allow multiple cameras to run for the same scene?

CalculatorGraph receives images, not camera, so you can run multiple cameras. Some graph may expect input images are from the same source — last detected landmarks are remembered sometimes ―, but in that case, you can run multiple CalculatorGraphs in a scene.

However, if you'd like to combine the results from multiple images (e.g. Triangulation), you need to do it by yourself because MediaPipe does not support it (AFAIK).

Also can RTabmap be used?

I'm sorry I don' know, though it depends on use cases. Please ask it in mediapipe's community.