mchehab / zbar

ZBar is an open source software suite for reading bar codes from various sources, including webcams. As its development stopped in 2012, I took the task of keeping it updated with the V4L2 API. This is the main repository for it. There's a clone at at LinuxTV.org, and another one at gitlab.
https://linuxtv.org/downloads/zbar/
GNU Lesser General Public License v2.1
964 stars 202 forks source link

rs.c bug about qrcode recognition rate being low #269

Open FengMu1995 opened 11 months ago

FengMu1995 commented 11 months ago

when I run the code with qrcode, it slightly move, it results in qrcode no parsed information.But sometimes, I move really obviously, it can be recognized. So, I found out, that rs_correct (in rs.c) returns a value of -1 for the qr code, what in turn causes the decoding failure. The reason for the negative return code is that rs_modified_berlekamp_massey returns a value of 15 for the qr code but rs_find_roots only finds one single location. I wondered why? And How to solve it?