Questions tagged [quaggajs]

QuaggaJS is a barcode-scanner written in JavaScript supporting real-time localization and decoding of various types of barcodes.

What is QuaggaJS?

QuaggaJS is a barcode-scanner entirely written in JavaScript supporting real- time localization and decoding of various types of barcodes such as EAN, CODE 128, CODE 39, EAN 8, UPC-A, UPC-C, I2of5 and CODABAR. The library is also capable of using getUserMedia to get direct access to the user's camera stream. Although the code relies on heavy image- processing even recent smartphones are capable of locating and decoding barcodes in real-time.

43 questions
0
votes
0 answers

how to create a barcode scanner with quagga with fixed scanning canvas

I'm on Nuxt 2.15.4 and using Quagga2. I want to create a scanner like mobile scanners where the camera is full screen and there is a blue rectangle that the barcode must be placed inside of, and after scanning there will be a red line through the…
Mojtaba Barari
  • 1,127
  • 1
  • 15
  • 49
0
votes
0 answers

When I call a function inside Quagga.onDetected show error `Cannot read property 'searchbybarcode' of undefined`

I'm using quagga plugin form barcode scanner. I want to call searchbybarcode (barcode){} function inside Quagga.onDetected when I have e result. Quagga.onDetected((res) => { console.log('barcode', res.codeResult.code) …
site
  • 247
  • 5
  • 15
0
votes
1 answer

Quagga javascript barcode scanner - Uncaught TypeError: Quagga.init is not a function

I'm trying to write some vanilla javascript code to do barcode scanning from my website, however I can't even get past the first step using the Quagga javascript library. My code is currently this: …
Superdooperhero
  • 7,584
  • 19
  • 83
  • 138
0
votes
1 answer

QuaggaJS static file implementation

I am trying to implement QuaggaJS in a static file way, but clearly I am missing something. I am very new to javascript and as such hoping I am missing something very simple. Assuming i have a .jpg file in the same directory as this code , named…
rdel
  • 155
  • 1
  • 1
  • 10
0
votes
1 answer

Configure a configuration file to properly decode the desired barcodes using QuaggaJs

I am using QuaggaJs to decode barcodes for our book inventory system and it either doesn't scan or returns false positives many times. The configuration setup is shown below I have tried several revisions on my configuration for quagga and nothing…
0
votes
2 answers

How to use back camera instead of selfie camera in QuaggaJS

I have a problem opening the correct camera with QuaggaJS, On some devices, the selfie camera is opened but on others, the back facing camera will be opened. How can I set the standard camera to open to the back camera? Because scanning a barcode…
Rob
  • 176
  • 1
  • 14
0
votes
1 answer

Style the default "No video source" / "No video permissions" black rectangle

When the user is prompted for a permission on Safari, the video element is shown as a black rectangle with a strikethrough play button. How do I change this element's styling? Does it have a specific ID / class / tag? I'm using Quagga JS as a…
RubbelDieKatz
  • 1,134
  • 1
  • 15
  • 32
0
votes
2 answers

Defaulting camera sharing permissions in Firefox for Android

I'm developing a barcode scanning page for our warehouse, to enable the guys to scan in barcodes of goods coming in and out, and manage properties like dimensions and weights where they can. Since this ties in directly to our in-house CRM, we've…
0
votes
1 answer

How to get active stream or video track (from quagga.js)?

How can i get the active video stream (from the camera) after it has been created using getUserMedia() without any reference? Is it possible to get the stream from an video object while it is playing? I am using quagga.js to scan barcodes and i…
Nitin
  • 898
  • 1
  • 9
  • 25
0
votes
0 answers

how to debug javascript on iphone

Having a subtle javascript problem in the web browser on an older iPhone and also on an older Samsung S4. It runs nicely on a 2-year old Acer phone. Trying to pinpoint the problem I split the JS in several script blocks and put alert calls in…
Roland
  • 4,619
  • 7
  • 49
  • 81
0
votes
0 answers

Adding suffix to the barcode scanner

How can we add suffix to the barcode, so that after scanning it triggers the next function ? In my case I would like to use Quagga js plugin and Angular 4 framework. Can someone shed some light to proceed with it?
cantona_7
  • 1,127
  • 4
  • 21
  • 40
0
votes
1 answer

Quagga Javascript Barcode Scanner

Is there a way to scan Code 39 and UPC at the same time without changing the barcode type from the options? I tried adding both of them to active barcodes list. Still without changing the option to UPC or Code 39, it is not scanning
VPPP
  • 1
  • 1
  • 1
0
votes
0 answers

iOS WebRTC and QuaggaJS

I am working on an cordova Barcode Scanner app for mobile Devices. I am using the Framework QuaggaJS for Barcodescanning and the cordova-plugin-ioswebrtc to implement the webrtc functions to cordova. Its working fine on Android Devices and on local…
arget888
  • 69
  • 1
  • 7
1 2
3