Open alexcgrd opened 5 months ago
Are there any updates? Does anyone have an idea?
I have the same problem, extremely unreliable scanning of 39 format barcodes (what we use). I tried both the easy and custom versions, This basically makes this unusable for my purposes, bummer as it would have been a good fit.
Like the title says, I have a hard time scanning codes with the type "barcode 39". I usually get a right code about 50% of the time, which is not great. Usually either the code was cut or it read some characters wrong.
I have tested this mainly on my Xiaomi Android Phone (POCO X3 Pro). I have tried it with many different configuration-variations. I noticed that going with a lower fps amount will give the camera more time to focus on the code which results in slightly better results. My current configurations look like this:
// configurations: { fps: 5, qrbox: self.config.readerBox, useBarCodeDetectorIfSupported: true, rememberLastUsedCamera: true, aspectRatio: 4/3, formatsToSupport: [ Html5QrcodeSupportedFormats.QR_CODE, Html5QrcodeSupportedFormats.CODE_39, Html5QrcodeSupportedFormats.CODE_128, Html5QrcodeSupportedFormats.EAN_13, Html5QrcodeSupportedFormats.EAN_8, ], },
The readerbox function returns
{width: 294, height: 294}
on this specific device.Here is an example of a barcode 39 that I had a lot of trouble with. Is has a length of 11 characters which is not too long. Often times it would cut to "77070300".