zbar CLI Config Syntax

2011-08-14
2013-02-02
  • Nobody/Anonymous

    Hello,

    I'm using the precompiled zbarimg.exe to batch decode QR codes.  It's working great - thanks!  I'm wondering if the process could be spead up by setting the config values to QR only?  I'm unsure of the CLI syntax to do this. 

    I'm currently using:

    zbarimg.exe -q myqr.png

    What would the command look like to force QR only decoding?  Would it speed the process up by much?

    Thanks in advance!

    JDM

     
  • spadix

    spadix - 2011-08-17

    > wondering if the process could be spead up by setting the config values to QR only?

    You may experience some speedup by disabling unused symbologies.  In general it is recommended practice (by the barcode specifications) to do so anyway.

    > What would the command look like to force QR only decoding?

    Following the example in the manual, you enable specific symbologies by first disabling everything then re-enabling the target symbologies:

    zbarimg -q -Sdis -Sqr.en myqr.png
    

    > Would it speed the process up by much?

    That depends largely on the specific images you are trying to decode.  In a quick test with the couple hundred images in our QR regression, I measure about 16% faster.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks