zbar
zbar copied to clipboard
decoding time when unable to decode barcode
Hello I'm using the zbar library in an application written in C++/Qt. When it can decode the barcode, zbar is fast, and everything is great. But sometimes it can't decode the barcode in the image. This is not so great, but it's normal. The issue is that when this happens, instead of needing fractions of a second to do the decoding, it takes over 10 seconds until the failure is reported, on a i7 desktop CPU. The file where the zbar library is used is here: https://bitbucket.org/guenterneust/examinator/src/traindnn/barcode.cpp Any idea how this can be fixed?
No idea. you would need to profile ZBar with your dataset and see what it is doing along those 10 seconds.