Data Matrix Reader

This function block is designed to read and decode Data Matrix images. It extracts encoded data from the Data Matrix and outputs the result as a string.

📥 Inputs

Data Matrix Image This input accepts an image containing a Data Matrix that needs to be read and decoded.

📤 Outputs

Data This output returns the decoded string(s) extracted from the Data Matrix image.

🕹️ Controls

This function block does not have any specific controls for user interaction.

🎨 Features

Automatic Data Extraction The block automatically processes the input image and extracts any Data Matrix encoded data.

Supports Multiple Outputs The block can return multiple decoded strings if the input image contains more than one Data Matrix.

📝 Usage Instructions

  1. Connect Input: Link the Data Matrix Image input to an image source that contains a Data Matrix.

  2. Evaluate: Run the block to process the input image and extract the encoded data.

  3. Retrieve Output: Access the output string(s) to obtain the decoded information.

📊 Evaluation

Upon evaluation, this function block will decode any Data Matrix present in the input image and return the results as strings.

💡 Tips and Tricks

Ensure Image Quality

For optimal results, ensure that the Data Matrix image is of high quality and well-lit. Blurry or poorly lit images can affect the decoding accuracy.

Preprocess Images

If you're encountering issues with decoding, consider applying an Image Threshold function block to enhance the contrast of the Data Matrix before it reaches this block.

🛠️ Troubleshooting

No Data Decoded

If no data is being decoded, ensure that the input image contains a valid, readable Data Matrix.

Verify the quality and size of the Data Matrix to make sure it’s not too small or blurry in the image.

Error Messages

If you receive an error message stating there is "No image data available," make sure that the previous block providing the image is correctly sending data to this function block.

Last updated