Giter Club home page Giter Club logo

artoolkit-barcode-markers-collection's Introduction

Artoolkit Barcode Markers collection

A collection of ready-to-use Barcode markers.

I created all markers for each kind of configuration. You can see the following table for details.

Markers are on separate folders. Look out for folder name for marker configurations, and file names for the specific value of each barcode.

I generated only Barcode markers with an Hamming Distance greater than 0, otherwise they will be practically unusable. Just remember: the higher the Hamming distance, the better for recognization.

Important

Keep in mind that when you add this spec on your AR.js scene: ...detectionMode: mono_and_matrix; matrixCodeType: 3x3;โ€™ you are using the AR_MATRIX_CODE_3x3 (so refer to the markers inside the "3x3" folder on this repo).

Other values can be set this way:

type of matrix code - valid iif detectionMode end with 'matrix' - [3x3, 3x3_HAMMING63, 3x3_PARITY65, 4x4, 4x4_BCH_13_9_3, 4x4_BCH_13_5_5]
matrixCodeType: '3x3'

Also important

As for now, on AR.js 3.3.3 (and older versions) the only barcode markers that are supported are 3x3 and 4x4, NOT 5x5. For more details, you can check the supported mapped version here: https://github.com/artoolkitx/jsartoolkit5/blob/244b2b23286403e78fa24805b34509dc5a88052f/emscripten/ARBindEM.cpp#L125-L130

Is there a live version of a barcode marker generator?

Yes, there is: https://au.gmented.com/app/marker/marker.php

But it is not open source and who knows for how long it will remain online. So for now it works. In case it stops working, you can still use the markers on this repo.

Available markers

Matrix code type Folder name Maximum number of markers Hamming distance AR.js 3 support
AR_MATRIX_CODE_3x3 3x3 64 0 yes
AR_MATRIX_CODE_3x3_PARITY65 3x3_parity_6_5 32 1 yes
AR_MATRIX_CODE_3x3_HAMMING63 3x3_hamming_6_3 8 3 yes
AR_MATRIX_CODE_4x4_BCH_13_9_3 4x4_bch_13_9_3 512 3 yes
AR_MATRIX_CODE_4x4_BCH_13_5_5 4x4_bch_13_5_5 32 5 yes
AR_MATRIX_CODE_5x5_BCH_22_7_7 5x5_bch_22_7_7 128 7 no
AR_MATRIX_CODE_5x5_BCH_22_12_5 5x5_bch_22_12_5 4096 5 no

Learn more

Credits

๐Ÿˆ Thanks to @fquffio for this.

artoolkit-barcode-markers-collection's People

Contributors

nicolocarpignoli avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.