I’m using your openmv lib but directly in C on an STM32H747I-DISCO board to make image processing. I have been able to perform successfully barcode decoding using your implementation of the zbar library. I tried to do the same for data matrix decoding but it doesn’t seem to work…
I have spent a week on this matter with no success so far. The dmtx library detects correctly the datamatrix (amount of rows and columns are correct for example in the DmtxRegion structure) but it fails in the RsDecode function. The RsFindErrorLocations function keeps saying that the code is not repairable. When I comment this line, then the library does give me an output but it’s garbage… However, it’s a code that is always the same if I don’t change the data matrix. If I change the data matrix, I get a new code (which is still garbage) so that makes me think, that somehow, the identification of the data matrix works well but something is broken somewhere in the pipe…
I’m feeding all the correct parameters to the function “imlib_find_datamatrices” which are almost the same ones than “imlib_find_barcodes”. The only difference is the integer effort. I have tried with several values (100,1000,2000,3000…10000) but none of them would give me satisfaction.
Can you help me with this matter please?
Thanks in advance,