Giter Club home page Giter Club logo

Comments (3)

schulzch avatar schulzch commented on August 12, 2024

This barcode can be read using ZXing for Android (Java). Unfortunately the zxing-cpp maintainer stepped down in mid 2013, so zxing-cpp got deprecated. The cause is likely to be:

You should start by debugging this using the zxing-cpp command line interface. After this compare files (1.) line-by-line - its really easy as the port maps stunningly well. ZXing works internally more or less like this:

  1. read a greyscale image
  2. binarize the pixels adaptively using magical, but fast heuristics
  3. (for 1D barcodes) scan the binarized matrix from mid outwards until a barcode can be decoded

Adding zBar to node-dv has already failed once (its written in C99, which ain't supported by MSVC) and its internals are a lot less clean than ZXing's.

from node-dv.

v4l3r10 avatar v4l3r10 commented on August 12, 2024

I have checked HybridBinarizer and Code128Reader... the real differences are only:
on line 162 of Code128Reader.cpp

  {2, 1, 1, 2, 3, 2}, /* 105 */
  {2, 3, 3, 1, 1, 1}

vs

  {2, 1, 1, 2, 3, 2}, /* 105 */
  {2, 3, 3, 1, 1, 1,2}

see ZXingOBJc

I have patched and tried but same result... nothing of good

from node-dv.

schulzch avatar schulzch commented on August 12, 2024

Ref ZXing #107.

from node-dv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.