Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems reading long code39 codes #287

Open
vladf95 opened this issue Apr 20, 2018 · 6 comments
Open

Problems reading long code39 codes #287

vladf95 opened this issue Apr 20, 2018 · 6 comments

Comments

@vladf95
Copy link

vladf95 commented Apr 20, 2018

Hi,

I'm using the quagga barcode reader in order to read the following barcode formats: code128, code39, ean8 and ean13

I'm having problems with code39, because it can't be read. My codes are long (length = 20), besides this, the codes start and end with "*" (so the length is 22).

What should I do in order to make it work?

This is the order of the readres in the Quagga_init:
readers : ["code_128_reader", "ean_reader", "ean_8_reader", "code_39_reader", "code_39_vin_reader"]

p.s. The reader works fine for the other three barcode formats.

Best regards,
Vlad

@HoKangInfo
Copy link

HoKangInfo commented Sep 21, 2018

this example over 16 char is not work,

FrameGrabber {"videoSize":[377,177],"canvasSize":[800,375],"stepSize":[0.47125,0.472],"size":[800,360],"topRight":{"x":0,"y":0}}
{"codeResult":{"code":"1234567890123456","start":70,"end":801,"startInfo":{"start":70,"end":105},"decodedCodes":["1","2","3","4","5","6","7","8","9","0","1","2","3","4","5","6"],"direction":1,"format":"code_39"},"line":[{"x":-2,"y":180},{"x":802,"y":180}],"angle":0,"pattern":[0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,1,1,0,0,0,1,1,1,1,1,1,0,0,1,1,1,1,1,1,0,0,0,1,1,1,0,0,0,1,1,1,1,1,1,0,0,1,1,0,0,0,0,0,0,0,1,1,1,1,0,0,1,1,0,0,0,1,1,1,1,1,1,0,0,1,1,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0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,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,1,1,0,0,1,1,0,0,0,1,1,1,0,0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0],"box":[{"0":0,"1":0},{"0":0,"1":360},{"0":800,"1":360},{"0":800,"1":0}],"boxes":[[{"0":0,"1":0},{"0":0,"1":360},{"0":800,"1":360},{"0":800,"1":0}]]}

@bezo97
Copy link

bezo97 commented Feb 3, 2019

This problem still exists. @vladf95 Did you find a workaround, by any chance?

@mteneglio
Copy link

still having this problem, is there a workaround somekind, quagga is still not able to read barcode more than 15 chars ( with code_39_reader )
@bezo97 @vladf95 Did you find a workaround for this issue?

@bezo97
Copy link

bezo97 commented Apr 23, 2019

@mteneglio nope, I went with another similar lib, called zxing-js

@vladf95
Copy link
Author

vladf95 commented Apr 25, 2019

@mteneglio I wasn't able to find a solution for the problem. I also used the zxing library.

@Braunson
Copy link

Having the same issue with code 39 codes (17 characters)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants