-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Cannot Scan DataMatrix codes that are between 5mm - 10mm (CANNOT ZOOM VIDEO) #243
Comments
Yes this is a problem. I can't scan a little QR codes. :( |
I hope @mebjas can give some advises to fix this problem. Not sure how scandit can make the scanner too fast. |
Can you share a sample of the code you are trying to use?
|
Hi @mebjas I got the same problem with #264 _requestCamera: function() {
var self = this;
// This method will trigger user permissions
Html5Qrcode.getCameras().then(devices => {
var backCamera = devices[devices.length -1 ];
self.cameraId = backCamera.id;
self._initCamera();
}).catch(err => {
alert(err);
//alert('Please allow camera permission to use barcode scanner');
self.popupSearch.modal('closeModal');
});
},
_initCamera: function() {
if (!this.html5QrCode) {
this.html5QrCode = new Html5Qrcode("quick-order-barcode-reader");
}
const config = { fps: 24, qrbox: 250 };
$('#quick-order-barcode-search').trigger('processStart');
// If you want to prefer back camera
this.html5QrCode.start({ facingMode: "environment" }, config, this.qrCodeSuccessCallback.bind(this)).then(foo => {
$('#quick-order-barcode-search').trigger('processStop');
});
//this.html5QrCode.start({ deviceId: { exact: self.cameraId} }, config, this.qrCodeSuccessCallback.bind(this));
}, It scan ok for large image. And take time on real product such as #264 |
Feature request for zoom feature: #330 |
Same issue here and same need |
Hi @mebjas When the qr code is close to the camera or is not an image of high quality, the scanner doesn't read the code. In simpler words, Kind Regards |
Describe the bug
When scanning Data Matrix codes that are < 10mm it will not read.
Ideally it would be great if we could zoom in on the canvas to have it render or read the barcode.
Using something like Scandit https://websdk.scandit.com/ works flawlessly on these sizes.
I am wondering what they are doing different that would help this scan better
So i have two issues
The text was updated successfully, but these errors were encountered: