Page 1 of 1

questions about matrix codes and camera data

Posted: Tue May 12, 2020 10:27 pm
by jachin
hi there

I'm really excited to use this library. It seems like y'all have done a lot of great work. I have some questions. I'm sorry if the answers are documented somewhere, I've tried to find answers but... so far I have had no luck.

What I would like to do is use barcode tracking... I need about 20-30 markers for my project so it seems like the AR_MATRIX_CODE_3x3_PARITY65 set is the way to go. I'm having a bit of trouble with some of the markers though, the results I'm getting are inconsistent.

All the examples seem to show using the constant

Code: Select all

AR_MATRIX_CODE_DETECTION 
in the call to

Code: Select all

setPatternDetectionMode
. Does this mean it will try to recognize all the different kinds of "matrix codes"? Is there a way to limit it to just those in the

Code: Select all

AR_MATRIX_CODE_3x3_PARITY65
set? Am I thinking about this the right way?

Second question, I see there are a few different camera data files. I've just been using

Code: Select all

Camera_pama.dat
but there are other options. Should I be using one or the other? How should I think about those camera files?

Thanks

-jachin

Re: questions about matrix codes and camera data

Posted: Wed Feb 01, 2023 12:00 am
by listmaster
To choose which type of matrix code is detected, use `arSetMatrixCodeType`