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.
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?
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?