Skip to main content

Questions tagged [zxing-js]

ZXing for JavaScript topics. ZXing is a high performance barcode scanner with ports to multiple languages, one of them is JavaScript (or TypeScript).

0 votes
0 answers
24 views

Issues with zxing-js/library and Rollup Build: "this" has been rewritten to "undefined"

I'm new to JavaScript and TypeScript and I'm using the zxing-js/library package in my project. When I try to build my project with Rollup, I'm encountering the following errors: (!) "this" ...
Ophir Yaniv's user avatar
-1 votes
0 answers
28 views

Zxing js problem with some android phones

I have zxing js integraded in my webapplication, and i ran into a problem regarding android phones. All iphones work and their camera is clear. The android phones on the other hand seemed blurry. I've ...
EFK Qlezz's user avatar
0 votes
0 answers
50 views

Why doesn't ZXing's BrowserMultiformatReader decode in React?

I have the following code for an Ionic React component that uses the ZXing/library. The component uploads the CB image files without problems, but cannot do the documenting, returning the following ...
Juan Carlos GIRARDINI's user avatar
0 votes
0 answers
14 views

Any way to ignore check digit errors

I am trying to read EAN-13 barcodes that were generated sequentially. Unfortunately the barcodes were submitted manually by the user, meaning the last digit of 13-digit EAN is not the checkdigit, but ...
MERT KARAMIZRAKLI's user avatar
0 votes
0 answers
31 views

Barcode detected on second button press

I just want to find out what is causing barcode detection from image only working on second attempt (button press) even on examples like this: https://zxing-js.github.io/library/examples/barcode-image/...
Albertus Geyser's user avatar
0 votes
0 answers
67 views

ZXing: listVideoInputDevices method returns redundant entries

I'm using the zxing api to scan barcodes with my mobile phone. The listVideoInputDevices method from BrowserMultiFormatReader lists all available cameras from the device. But why is the rear camera ...
MichaB's user avatar
  • 555
0 votes
0 answers
113 views

zxing/library unable to scan UPC-E barcode

zxing/library can't find the UPC-E barcode const hints = new Map() const formats = [ BarcodeFormat.UPC_A, BarcodeFormat.UPC_E, BarcodeFormat.UPC_EAN_EXTENSION, ] hints.set(...
Oktay Yuzcan's user avatar
  • 2,953
0 votes
0 answers
82 views

Getting video warning while loading video from BrowserCodeReader

Implemented QR scanner component with @zxing/library and getting warning on browser while video is loaded. Any idea why they are showing and how to overcome these warnings? Here is my component and ...
tsm009's user avatar
  • 39
0 votes
0 answers
230 views

Reset function not working with "@zxing/Browser" in React TypeScript

I'm trying to close the reader with reset() function but it's giving an error. Here is my component: import { BrowserMultiFormatReader } from "@zxing/browser" const videoRef = useRef<...
tsm009's user avatar
  • 39
0 votes
0 answers
103 views

Adding a crop box on video element to scan QR code

I have used "@zxing/library" to scan QR code. Now I want to show a frame box to specify the QR scan area instead of whole video box. I see a function name drawFrameOnCanvas() but unable to ...
tsm009's user avatar
  • 39
0 votes
1 answer
899 views

How to read qr-code from video , without passing deviceId in zxing's js library

The decodeFromInputVideoDevice function only works only when we pass the deviceID to it . It there any other function where could directly pass the camera stream , without passing the deviceId I ...
Harish Kumar R B's user avatar
1 vote
0 answers
494 views

Zxing Crop video to scan barcode

I create a project to scan a barcode, but on mobil or webCam the frame is too big. I want crop it. I read lot of thing about, apparently already implemented function... but I don't <!DOCTYPE html&...
YannickIngenierie's user avatar
0 votes
0 answers
410 views

ZXing-js/browser returns a ChecksumError no matter what QR Code I use

I'm having an issue with ZXing-js. Its returning a ChecksumException no matter what QR Code I put into it. So its detecting the QRCode but throws an Exception. The following is my vuejs 2.0 code. ...
pneves's user avatar
  • 1
0 votes
1 answer
496 views

Error: Zxing functions does not exists. React QR Scanning App

I am trying add a qr code scanning functionality to my react app. I am using @zxing(https://www.npmjs.com/package/@zxing/browser & https://www.npmjs.com/package/@zxing/library) packages. Following ...
Aryan Arora's user avatar
1 vote
0 answers
273 views

Maximum characters limit for Zxing QR code scanner

I am using QZXing Qt library for the reading the QR code, I would like to know what is the maximum characters limit can a QZXing can support. Thanks in advance
Rakesh Varma's user avatar

15 30 50 per page