1. 19 Nov, 2020 1 commit
    • Volker Krause's avatar
      Add a test case for barcodes with scaling artifacts · b2eab06f
      Volker Krause authored
      That is, individual lines are off by one pixel in size, making the features
      in there non-square. This can be found for example in DataMatrix codes on
      Renfe tickets, or QR codes on CCC tickets.
      This isn't a problem for our current decoder, but fails with new ZXing
      ReadBarcode() API in pure mode.
  2. 18 Nov, 2020 1 commit
  3. 30 Jun, 2020 1 commit
  4. 19 May, 2019 1 commit
    • Volker Krause's avatar
      Rework the barcode decoding · 1da0557b
      Volker Krause authored
      There's a number of changes in here:
      - Plausibility checks to avoid expensive decoding are now done everywhere,
        speeding up usage from JS.
      - Both positive and negative decoding results are cached, avoiding double
        decoding when we have to do multiple passes (e.g. generic and custom).
      - With plausibility checks in the backend, JS scripts don't have to deal
        with that anymore.
      - Binary or textual content is now auto-detected.
      - Checking for multiple code types at once is not supported, which allows
        to reuse the binarization computation.
      Overall this produces a speedup of about 15% on a double-pass PDF ticket.
  5. 18 May, 2019 2 commits
  6. 15 May, 2019 3 commits
  7. 10 Dec, 2018 1 commit
  8. 06 Oct, 2018 1 commit
    • Volker Krause's avatar
      Add support for the newer ZXing from https://github.com/nu-book/zxing-cpp · 1ca1faaa
      Volker Krause authored
      This significantly outperforms the variant we were previously using, both
      in performance and accuracy. It also doesn't have the memory leak on PDF417
      detection failures observed with the other one, and has a "pure" mode
      which assumes generated rather than camera input (which we have here).
      This allows us to bypass the luminance source and go directly to the bit
      matrix. Altogether this speeds up the test suite by 45%, while also
      decoding a number of previously failing test files.
  9. 14 Aug, 2018 1 commit
  10. 26 Jun, 2018 1 commit
  11. 25 Jun, 2018 1 commit
  12. 29 Apr, 2018 2 commits