Learning a Matrix Code

Warning

This library is deprecated, use EasyMatrixCode2 instead.

To search for specific features and speed up your processing, learn a Matrix code model.

Workflow

../../../../_images/emclearningprocessworkflow.webp

EasyMatrixCode learn workflow.

  1. Load the image of the matrix code you want to learn.

  2. Learn the model:

  3. Tune ESearchParamsType .NET Python to be efficient and either:

  4. Ask EMatrixCodeReader .NET Python to decode the supplied image.

  5. Display the decoded string using EMatrixCode::GetDecodedString .NET Python.

  6. Save the state of the reader object using EMatrixCodeReader::Save .NET Python.

Restoring the state of an EMatrixCodeReader

To restore the state of an EMatrixCodeReader .NET Python and use it to read a matrix code:

  1. Restore the reader state from the given file using EMatrixCodeReader::Load .NET Python.

  2. Use EMatrixCodeReader::Read .NET Python to read the image.

  3. Display the decoded string using EMatrixCode::GetDecodedString .NET Python.