All Projects → gruhn → Vue Qrcode Reader

gruhn / Vue Qrcode Reader

Licence: mit
A set of Vue.js components for detecting and decoding QR codes.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Vue Qrcode Reader

Vue Quill Editor
🍡@quilljs editor component for @vuejs
Stars: ✭ 6,874 (+454.35%)
Mutual labels:  vue-components, vue-component, vue-plugin
Vue Qrcode
QR code component for Vue.js
Stars: ✭ 724 (-41.61%)
Mutual labels:  qr-code, qrcode, vue-component
Vue Codemirror
⌨️ @codemirror component for @vuejs
Stars: ✭ 2,115 (+70.56%)
Mutual labels:  vue-components, vue-component, vue-plugin
Zxinglite
🔥 ZXing的精简版,优化扫码和生成二维码/条形码,内置闪光灯等功能。扫描风格支持:微信的线条样式,支付宝的网格样式。几句代码轻松拥有扫码功能 ,ZXingLite让集成更简单。(扫码识别速度快如微信)
Stars: ✭ 2,117 (+70.73%)
Mutual labels:  qr-code, qrcode-scanner, qrcode
qrcode
A flutter plugin for scanning QR codes. Use AVCaptureSession in iOS and zxing in Android.
Stars: ✭ 69 (-94.44%)
Mutual labels:  qrcode, qr-code, qrcode-scanner
Qr Code Scanner
📠 A simple, fast and useful progressive web application
Stars: ✭ 982 (-20.81%)
Mutual labels:  qr-code, qrcode-scanner, qrcode
Bardecoder
Detect and decode QR Codes, written in 100% Rust.
Stars: ✭ 145 (-88.31%)
Mutual labels:  qr-code, qrcode-scanner, qrcode
Vue Awesome Swiper
🏆 Swiper component for @vuejs
Stars: ✭ 12,072 (+873.55%)
Mutual labels:  vue-components, vue-component, vue-plugin
v-tostini
Toast plugin for Vue.js 2.x
Stars: ✭ 12 (-99.03%)
Mutual labels:  vue-components, vue-plugin, vue-component
quagga2-reader-qr
Quagga2 sample external reader for QR codes
Stars: ✭ 20 (-98.39%)
Mutual labels:  qrcode, qr-code, qrcode-scanner
vue-drag-zone
Drag Zone component for @vuejs
Stars: ✭ 127 (-89.76%)
Mutual labels:  vue-components, vue-plugin, vue-component
Vue Touch Ripple
👆 Touch ripple component for @vuejs
Stars: ✭ 443 (-64.27%)
Mutual labels:  vue-components, vue-component, vue-plugin
QR Attendance
This project is an attendance system which provides attendance on scanning QR code. The attendance is stored in Excel sheet named with the date of attendance taken. In this folder a file named Generate.py is used to generate the QR code for given input file. Attend.py file is for scanning the QR code
Stars: ✭ 17 (-98.63%)
Mutual labels:  qrcode, qr-code, qrcode-scanner
React Qr Reader
React component for reading QR codes from webcam.
Stars: ✭ 716 (-42.26%)
Mutual labels:  qr-code, qrcode, webrtc
Czxing
C++ port of ZXing and ZBar for Android.
Stars: ✭ 854 (-31.13%)
Mutual labels:  qrcode-scanner, qrcode
Vue Js Toggle Button
🍥 Vue.js 2 toggle / switch button - simple, pretty, customizable
Stars: ✭ 836 (-32.58%)
Mutual labels:  vue-component, vue-plugin
Privatekeyvault
Make Instructions: Airgapped raspberry pi computer for working with blockchains featuring LUKS full disk encryption and using qr-codes to pass encrypted files and offline transaction instructions across the airgap.
Stars: ✭ 29 (-97.66%)
Mutual labels:  qr-code, qrcode
Qrcode
QR-code encoder/decoder (no image recognition)
Stars: ✭ 34 (-97.26%)
Mutual labels:  qr-code, qrcode
Vue Particles
Vue.js component for particles backgrounds ✨
Stars: ✭ 1,220 (-1.61%)
Mutual labels:  vue-components, vue-component
Vue Qr Reader
Vue component to scan QR codes
Stars: ✭ 46 (-96.29%)
Mutual labels:  qrcode-scanner, vue-components

Logo

for Vue.js 2 npm monthly downloads Travis CI: build status
is maintained? yes licence: MIT badges = awesome
uses semantic release code style: prettier
size minified + gzipped npm current version
Mentioned in Awesome Vue

live demos | api reference

A set of Vue.js components, allowing you to detect and decode QR codes, without leaving the browser.

  • 🎥 QrcodeStream accesses the device camera and continuously scans incoming frames.
  • 🚮 QrcodeDropZone renders to an empty region where you can drag-and-drop images to be decoded.
  • 📂 QrcodeCapture is a classic file upload field, instantly scanning all files you select.

All components are responsive. Beyond that, close to zero styling. Make them fit your layout. Usage is simple and straight forward:

<qrcode-stream @decode="onDecode"></qrcode-stream>
methods: {
  onDecode (decodedString) {
    // ...
  }
}

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3

Installation 📦

With NPM

Run

npm install vue-qrcode-reader

You can import the components independantly

import { QrcodeStream, QrcodeDropZone, QrcodeCapture } from 'vue-qrcode-reader'

const MyComponent = {

  components: {
    QrcodeStream,
    QrcodeDropZone,
    QrcodeCapture
  },

  // ...
))

or register all of them globally right away

import Vue from "vue";
import VueQrcodeReader from "vue-qrcode-reader";

Vue.use(VueQrcodeReader);

Without NPM

Include the following JS file:

https://unpkg.com/vue-qrcode-reader/dist/VueQrcodeReader.umd.min.js

Make sure to include it after Vue:

<script src="./vue.js"></script>
<script src="./VueQrcodeReader.umd.min.js"></script>

All components are automatically registered globally. Use kebab-case to reference them in your templates:

<qrcode-stream></qrcode-stream>
<qrcode-drop-zone></qrcode-drop-zone>
<qrcode-capture></qrcode-capture>

Troubleshooting ⚡️

I don't see the camera when using QrcodeStream.

  • Check if it works on the demo page. Especially the Decode All demo, since it renders error messages. If you see errors, consult the docs to understand their meaning.
    • The demo works but it doesn't work in my project: Listen for the init event to investigate errors.
    • The demo doesn't work: Carefully review the Browser Support section above. Maybe your device is just not supported.

I'm running a dev server on localhost. How to test on my mobile device without HTTPS?

  • If your setup is Desktop Chrome + Android Chrome, use Remote Debugging which allows your Android device to access your local server as localhost.
  • Otherwise use a reverse proxy like ngrok or serveo to temporarily make your local server publicly available with HTTPS.
  • There are also loads of serverless/static hosting services that have HTTPS enabled by default and where you can deploy your web app for free (e.g. GitHub Pages, GitLab Pages, Google Firebase, Netlify, Heroku, ZEIT Now, ...)

Some of my QR codes are not being detected.

  • Make sure, there is some white border around the QR code.
  • Color inverted QR codes are not supported (dark background, light foreground).
  • Model 1 QR codes are also not supported.

Thanks 🙏

BrowserStack Logo    Travis-CI Logo
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].