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.
In qrdec.c line 1000,
'''
uversion=(_width-8*usize)/(usize<<2);
'''
I know it estimated the version of x direction, but from the context, the width is the width of the image, not the width of the qr code, but the result is right.
why? Someone can help me?
In qrdec.c line 1000, ''' uversion=(_width-8*usize)/(usize<<2); ''' I know it estimated the version of x direction, but from the context, the width is the width of the image, not the width of the qr code, but the result is right. why? Someone can help me?