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

Barcode scanning not working #487

Closed
Tracked by #605
seAfnan opened this issue Jun 19, 2022 · 3 comments
Closed
Tracked by #605

Barcode scanning not working #487

seAfnan opened this issue Jun 19, 2022 · 3 comments

Comments

@seAfnan
Copy link

seAfnan commented Jun 19, 2022

I have tried. QR code scanning is OK but Barcode is not working in my project. Here is my js code...

<script>
  var html5QrcodeScanner = new Html5QrcodeScanner(
    "reader", { fps: 10, qrbox: 250, experimentalFeatures: { useBarCodeDetectorIfSupported: true } }
  );
      
  function onScanSuccess(decodedText, decodedResult) {
    console.log('Scan Result: '+ decodedText);
    console.log('Scan Result: '+ decodedResult);
    html5QrcodeScanner.clear();
  }

  function onScanError(errorMessage) {
    console.log('Scan Error: '+ errorMessage);
  }

  html5QrcodeScanner.render(onScanSuccess);
</script>
@ROBERT-MCDOWELL
Copy link

again, you must tell us which barcode, and upload an image, and provide all your OS and browser info

@seAfnan seAfnan closed this as completed Jun 19, 2022
@seAfnan seAfnan reopened this Jun 19, 2022
@seAfnan
Copy link
Author

seAfnan commented Jun 19, 2022

again, you must tell us which barcode, and upload an image, and provide all your OS and browser info

Any type of barcode, currently i am scanning UPC barcode on Windows 10 with front cam of laptop on Edge browser.

image

(closed accidently, so i reopened)

@mebjas
Copy link
Owner

mebjas commented Nov 16, 2022

Will be fixed in version 2.3.1. Please track in this parent bug #605

Closing this one.

@mebjas mebjas closed this as completed Nov 16, 2022
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

3 participants