question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Matrix can not be recognised if printed as circles. WhY?

See original GitHub issue

Hi @kursancew I am trying to recognise a matrix which is an arrangement of circles instead of rectangular.

The code is :

from pylibdmtx.pylibdmtx import decode
from PIL import Image
imPath='C:\\Users\\sns\\Documents\\P-Frames\\Defektenanerkenung\\MatlabScripts\\Tets_photos\\QR-code_X1.tif'
result = decode(Image.open(imPath))

After few second of decoding i got the answer “[]”

Is there any ideas how to proceed. Thanks

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ssnegircommented, Oct 19, 2022

The outcome is: 000000000135299069 The image which is generated by my matlab code (see above) with further succesfully interpretation by python: image

0reactions
kursancewcommented, Oct 26, 2022

python just wraps the C library, the C library may not be robust enough to decode the circles based image, you could try to process the images using scipy in a similar way that you did in Matlab? I’ve never seen data matrix printed as dots, I’m not sure it’s part of the standard.

My main suspicion would be on the detection of the L marker and timing, the “jaggedness” in the L may be stopping it from being detected by libdmtx.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Filled circle in matrix(2D array) - c++ - Stack Overflow
All x & y points that satisfy this equation are part of the circle. To see if a certain point (x1, y1) is,...
Read more >
Circular Matrix (Construct a matrix with numbers 1 to m*n in ...
The idea is based on Print a given matrix in spiral form. We create a matrix of size m * n and traverse...
Read more >
Detecting Circles in Images using OpenCV and Hough Circles
Tutorial: In this post I'll show you how to use OpenCV and the cv2.HoughCircles function to effortlessly detect circles in images.
Read more >
The R Inferno
The result is a vector (not an array) containing the selected items. Lists are subscripted just like (other) vectors. However, there are two ......
Read more >
Matrix Table Question - Qualtrics
If you did not (which is the default), each statement gets its own column, and every answer the respondent selected is listed as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found