You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thank you for this piece of software! We are using your QR detection library in one of our projects and noticed that the quadrilateral fitting algorithm is sometimes producing weird results. For example, in one of our images (that do not contain a QR code) the resulting detection gives this value:
Notice how the quad_xy and similar rects is bigger than the image itself. In the QReader library, this quad is used for padding, which makes the program try to allocate a huge array (in our case, of 600GiB) which crashes the program due to insufficient memory.
Plugging the polygon_xy above in the QuadrilateralFitter with the arguments used in here gives the observed quad_xy. I noticed that reducing the max_simplification_epsilon to 1.0 gives a better result:
I don't have much familiarity with this library and so I'm not sure I can contribute much, but hopefully this issue can help bring improvements. I'm available for discussing the issue though.
The text was updated successfully, but these errors were encountered:
Hi, thank you for this piece of software! We are using your QR detection library in one of our projects and noticed that the quadrilateral fitting algorithm is sometimes producing weird results. For example, in one of our images (that do not contain a QR code) the resulting detection gives this value:
Notice how the
quad_xy
and similar rects is bigger than the image itself. In the QReader library, this quad is used for padding, which makes the program try to allocate a huge array (in our case, of 600GiB) which crashes the program due to insufficient memory.Plugging the
polygon_xy
above in theQuadrilateralFitter
with the arguments used in here gives the observedquad_xy
. I noticed that reducing themax_simplification_epsilon
to 1.0 gives a better result:I don't have much familiarity with this library and so I'm not sure I can contribute much, but hopefully this issue can help bring improvements. I'm available for discussing the issue though.
The text was updated successfully, but these errors were encountered: