/artoolkit-barcode-markers-gallery

A collection of ready-to-use Barcode Markers for ARToolKit version 4.5.3 and above

MIT LicenseMIT

ARToolKit Barcode Markers Gallery

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

How to use it

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.

3x3

arSetPatternDetectionMode(<#ARHandle handle#>, AR_MATRIX_CODE_DETECTION);

3x3 Parity(6,5)

arSetPatternDetectionMode(<#ARHandle handle#>, AR_MATRIX_CODE_DETECTION); arSetMatrixCodeType(<#ARHandle handle#>, AR_MATRIX_CODE_3x3_PARITY65);

3x3 Hamming(6,3)

arSetPatternDetectionMode(<#ARHandle handle#>, AR_MATRIX_CODE_DETECTION); arSetMatrixCodeType(<#ARHandle handle#>, AR_MATRIX_CODE_3x3_HAMMING63);

4x4

arSetPatternDetectionMode(<#ARHandle handle#>, AR_MATRIX_CODE_DETECTION); arSetMatrixCodeType(<#ARHandle handle#>, AR_MATRIX_CODE_4x4);

4x4 BCH(13,9,3)

arSetPatternDetectionMode(<#ARHandle handle#>, AR_MATRIX_CODE_DETECTION); arSetMatrixCodeType(<#ARHandle handle#>, AR_MATRIX_CODE_4x4_BCH_13_9_3);

4x4 BCH(13,5,5)

arSetPatternDetectionMode(<#ARHandle handle#>, AR_MATRIX_CODE_DETECTION); arSetMatrixCodeType(<#ARHandle handle#>, AR_MATRIX_CODE_4x4_BCH_13_5_5);

5x5

arSetPatternDetectionMode(<#ARHandle handle#>, AR_MATRIX_CODE_DETECTION); arSetMatrixCodeType(<#ARHandle handle#>, AR_MATRIX_CODE_5x5);

5x5 BCH(22,12,5)

arSetPatternDetectionMode(<#ARHandle handle#>, AR_MATRIX_CODE_DETECTION); arSetMatrixCodeType(<#ARHandle handle#>, AR_MATRIX_CODE_5x5_BCH_22_12_5);

5x5 BCH(22,7,7)

arSetPatternDetectionMode(<#ARHandle handle#>, AR_MATRIX_CODE_DETECTION); arSetMatrixCodeType(<#ARHandle handle#>, AR_MATRIX_CODE_5x5_BCH_22_7_7);

Available Markers

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