Matrix can not be recognised if printed as circles. WhY?
See original GitHub issueHi @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:
- Created a year ago
- Comments:8 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The outcome is: 000000000135299069 The image which is generated by my matlab code (see above) with further succesfully interpretation by python:
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.