Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOWTO Recognize 4x4 markers #109

Open
mrcesc0 opened this issue Apr 20, 2021 · 8 comments
Open

HOWTO Recognize 4x4 markers #109

mrcesc0 opened this issue Apr 20, 2021 · 8 comments

Comments

@mrcesc0
Copy link

mrcesc0 commented Apr 20, 2021

Hello,
I'd like to build a react native app able to read 4x4 markers, so a number of 8191 markers.
Which way should i follow to achieve that?

I took a look at this example https://github.com/artoolkitx/jsartoolkit5/blob/master/examples/multimarker_barcode_threejs.html but have some doubts on how to generate a *.dat file (as in the example: arController.loadMultiMarker('Data/multi-barcode-4x3.dat') that contains all the markers I need and if that's the proper way to the reach the goal or i should consider another method.

Thank you so much
Francesco

@ThorstenBux
Copy link

Hi, what you want is basically these pattern markers: https://github.com/artoolkit/ARToolKit5/tree/master/doc/patterns
which are already preconfigured inside artoolkit so you don't need to create the patt files. However, the 4x4 markers are not really documented only the 3x3. Have a look at the artoolkit5 examples how the 3x3 are loaded. that should give you an idea how you can use them. And maybe give a clue how to use the 4x4. They may be in a Unity3D plugin somewhere, I'm not sure.

@mrcesc0
Copy link
Author

mrcesc0 commented Apr 20, 2021

Thank you for your answer.
Since you wrote "which are already preconfigured inside artoolkit", I'm wondering if there is a way to recognize a marker's code without load/declare them all.

@ThorstenBux
Copy link

They are pre-configured in a way that you don't need to create the patt files. You still need to tell the tracker which markers you are looking for. Meaning you need to 'load' (I guess instantiate is the better word) them.

@mrcesc0
Copy link
Author

mrcesc0 commented Apr 20, 2021

Everything's clear. That's the answer i was looking for...
Anyway I'm a bit concerned about the performance issues for instantiating 8191 markers.

Thank you!!!

@ThorstenBux
Copy link

Yeah, that I can't say. And honestly, I'm wondering why you would want that many markers at once.

@mrcesc0
Copy link
Author

mrcesc0 commented Apr 20, 2021

Every marker would be associated to a specific customer, so I need them all in order to have as many "available slots" as possible.

@ThorstenBux
Copy link

Hm, I guess I would need to understand your complete app to get what you are aiming for :).

@kalwalt
Copy link

kalwalt commented Apr 20, 2021

Hi @mrcesc0 the multi marker feature Is intended to be used ti improve the detection and tracking, in the sense more markers acting like only one. I can point you to the docs, i have a repo in my profile, but searching on my smartphone Is not easy...🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants