zbar icon indicating copy to clipboard operation
zbar copied to clipboard

decoding time when unable to decode barcode

Open pepeverde9 opened this issue 4 years ago • 1 comments

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?

pepeverde9 avatar Nov 30 '20 18:11 pepeverde9

No idea. you would need to profile ZBar with your dataset and see what it is doing along those 10 seconds.

mchehab avatar Feb 15 '21 12:02 mchehab