Do you know if is there a solution which would allow to input data to a string field decoding an image with bar code ?

That is, there is a field, containing a button. Having pressed at the button, I upload an image with bar code, which immediately is decoded and received value (string, number and so on) is placed in the field. And beside that the field can be filled manually, with keyboard.

Or, is there a simular solution ?

  • I haven't tried anything. I have asked this question because I negotiate with potential client on a freelance site and he wants to do it. And I have decided to assess the situation and look around existing solutions. – Yakimkin Roman Jan 22 '17 at 7:33

There is no quick fix for this for Drupal 8. The only thing that comes near for Drupal 7 is the Commerce Barcode Scanner module.

If you're willing to get your hands dirty, I can advice this Q: Reading barcode from an image using javascript.


Implement one of these three javascript libraries:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.