Table of contents
A simple demo is available here
Install through npm:
npm install --save @ericblade/quagga2 ngx-barcode-scanner
This component creates a barcode scanner.
ng serve or
npm run start for a dev server, on the example app. Navigate to
http://localhost:4200/. The app will automatically reload if you change any of the source files.
npm run build to build the project. The build artifacts will be stored in the
Access to the camera (getUserMedia API) is restricted on iOS when running in a Progressive Web App or in browsers different than Safari. Live streaming will not work in this case.
Which types of barcode are supported ?
All barcode types supported by quaggajs
Does ngx-barcode-scanner support scanning QR Codes ?
No, ngx-barcode-scanner is based on quaggajs, and it can not support qr-code.