Code Monkey home page Code Monkey logo

Comments (4)

TheLastProject avatar TheLastProject commented on June 25, 2024

The "card id" field shouldn't show anything except the value.

Is this a duplicate of #1496?

from android.

eoreshnikov avatar eoreshnikov commented on June 25, 2024

Is this a duplicate of #1496?

This is a related and similar problem.
But #1496 suggests updating the ZXing library.

I believe that the problem can be solved differently.

Current chain: Source barcode -> Scanning -> Receiving binary array -> Converting binary array to string to display card-id (this is where data corruption occurs) -> creating a new barcode to display.
As a result, the original barcode does not match the new one.

For example (russian) , the binary array in a barcode consists of:

code_type + card_id + First name, Last name (in non-standard 6-bit encoding) + others.

It will not be possible to display this in the card-id field.

BUT! You can allow the user to simply write the card number in the card-id field, and use a photo of the original barcode instead of the barcode.

from android.

TheLastProject avatar TheLastProject commented on June 25, 2024

Do you have an example barcode/qr code and card-id value this happens to?

BUT! You can allow the user to simply write the card number in the card-id field, and use a photo of the original barcode instead of the barcode.

You could set the barcode type to none and use an image as front photo but of course it'd be much better if this was fixed.

from android.

eoreshnikov avatar eoreshnikov commented on June 25, 2024

Do you have an example barcode/qr code and card-id value this happens to?

My barcode contains personal information and therefore I do not want to publish it here. I also canโ€™t generate test code, since itโ€™s not the simplest algorithm.

from android.

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.