This is a collection of ready-to-use Barcode Markers for ARToolKit.
Each Barcode Marker has been made in two resolutions:
- 72dpi - meant to be displayed on screens
- 300dpi - meant to be printed
To use the marker in ARToolKit, the following code must be included in ARToolKit setup keeping in mind the size and the correction algorithm of the used Barcode Marker.
arSetPatternDetectionMode(<#ARHandle handle#>, AR_MATRIX_CODE_DETECTION);
arSetPatternDetectionMode(<#ARHandle handle#>, AR_MATRIX_CODE_DETECTION);
arSetMatrixCodeType(<#ARHandle handle#>, AR_MATRIX_CODE_3x3_PARITY65);
arSetPatternDetectionMode(<#ARHandle handle#>, AR_MATRIX_CODE_DETECTION);
arSetMatrixCodeType(<#ARHandle handle#>, AR_MATRIX_CODE_3x3_HAMMING63);
arSetPatternDetectionMode(<#ARHandle handle#>, AR_MATRIX_CODE_DETECTION);
arSetMatrixCodeType(<#ARHandle handle#>, AR_MATRIX_CODE_4x4);
arSetPatternDetectionMode(<#ARHandle handle#>, AR_MATRIX_CODE_DETECTION);
arSetMatrixCodeType(<#ARHandle handle#>, AR_MATRIX_CODE_4x4_BCH_13_9_3);
arSetPatternDetectionMode(<#ARHandle handle#>, AR_MATRIX_CODE_DETECTION);
arSetMatrixCodeType(<#ARHandle handle#>, AR_MATRIX_CODE_4x4_BCH_13_5_5);
arSetPatternDetectionMode(<#ARHandle handle#>, AR_MATRIX_CODE_DETECTION);
arSetMatrixCodeType(<#ARHandle handle#>, AR_MATRIX_CODE_5x5);
arSetPatternDetectionMode(<#ARHandle handle#>, AR_MATRIX_CODE_DETECTION);
arSetMatrixCodeType(<#ARHandle handle#>, AR_MATRIX_CODE_5x5_BCH_22_12_5);
arSetPatternDetectionMode(<#ARHandle handle#>, AR_MATRIX_CODE_DETECTION);
arSetMatrixCodeType(<#ARHandle handle#>, AR_MATRIX_CODE_5x5_BCH_22_7_7);
Matrix code type | Folder name | Max Available Markers |
---|---|---|
AR_MATRIX_CODE_3x3 | 3x3 | 64 |
AR_MATRIX_CODE_3x3_PARITY65 | 3x3_Parity_6_5 | 32 |
AR_MATRIX_CODE_3x3_HAMMING63 | 3x3_Hamming_6_3 | 8 |
AR_MATRIX_CODE_4x4 | 4x4 | 8192 |
AR_MATRIX_CODE_4x4_BCH_13_9_3 | 4x4_BCH_13_9_3 | 512 |
AR_MATRIX_CODE_4x4_BCH_13_5_5 | 4x4_BCH_13_5_5 | 32 |
AR_MATRIX_CODE_5x5 | 5x5 | 4194304 |
AR_MATRIX_CODE_5x5_BCH_22_12_5 | 5x5_BCH_22_12_5 | 4096 |
AR_MATRIX_CODE_5x5_BCH_22_7_7 | 5x5_BCH_22_7_7 | 128 |