Simultaneous tracking of multiple NFT markers in ARToolkit for Android

I’m working on an Android project using ARToolkit and I’m stuck trying to track several NFT markers at the same time. It’s not working as expected.

I know this feature was added to ARWrapper a while back, but it’s pretty complicated. I’ve looked everywhere for Android examples or tutorials, but no luck so far.

Does anyone have experience with this? I’m specifically talking about NFT markers, not the standard ones like Hiro or Kanji.

Any tips or resources would be really helpful. I’m not sure if I’m missing something obvious or if there’s a trick to making it work. Thanks!

hey isaac, i’ve been messing around with ARToolkit on android too! multiple NFT markers can be a real pain, right? :sweat_smile: have you tried tweaking the detection threshold? sometimes that helps pick up more markers at once. also, what kind of nft markers are you using? i found that simpler designs tend to work better for simultaneous tracking.

btw, have you checked out any open source AR projects on github? there might be some good examples there. i’m curious, what kind of app are you building with multiple NFTs? sounds interesting!

oh, and don’t forget to optimize your image processing if things get sluggish. tracking multiple NFTs can really bog down older phones.

let me know how it goes! always fun to chat with other AR devs :blush:

I’ve actually worked with multiple NFT markers in ARToolkit for Android recently. It can be tricky, but it’s definitely doable. The key is properly configuring the ARNFTMultiMarker class. Make sure you’re initializing it correctly with all your marker IDs and paths. Also, check that you’re updating the detector in your render loop for each frame.

One gotcha I ran into was memory management - tracking multiple NFTs can be resource-intensive. You might need to tweak buffer sizes or implement some optimizations if performance becomes an issue.

Have you looked at the ARToolKit forums? There are some helpful threads there with code snippets. Let me know if you need any specific implementation details.

yo isaac, im facing similar issues with multi nft tracking. try tweaking the arnftmultimarker config and watch your device’s resources. also, check github for ideas. hope u sort it out!