We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to parse the DATA MATRIX reading results?

Hello,

I’ve started using the paid Aspose Barcode Reader (Java) for reading DATA MATRIX codes. The aspose barcode reader returns results like this:

CodeType = DataMatrix, CodeText = “[)>0612PGTL39K106JUN31615244600000113814D16DP12700140862P1TQ6403QEAK551885334K0012S1234567815KV09730414713V3161524467Q157.322K513323P30P2019/65/EU12V7522146691PMF_45621007833T”, Confidence = 100, ReadingQuality = 100

I’d be grateful if you could suggest how to parse the result to field values.
For example, some android reader returns the next for the same code:
[)><rs>06<gs>12PGTL3<gs>9K10<gs>6JUN316152446000001138<gs>14D<gs>16D<gs>P1270014086<gs>2P<gs>1T<gs>Q640<gs>3QEA<gs>K55188533<gs>4K001<gs>2S12345678<gs>15K<gs>V097304147<gs>13V316152446<gs>7Q157.32<gs>2K5133<gs>23P<gs>30P2019/65/EU<gs>12V752214669<gs>1PMF_456210078<gs>33T<rs><eot>
As you can see the last result can be parsed easily.

Thank you very much for your support

It seems that the result consists of ASCII codes 30 and 29 as delimiters

@koboh,

Could you please share your barcode image(s) and sample code(runnable) that you are using, we will check it soon.