How to achieve a barcode / QR code scanner in your phone's browser

You have a Web-enabled demand-based barcode / QR code scanning for mobile end users. However, you do not want to be operated by the app, because it requires the joint efforts of users and developers. You also want to enable users to read the barcode / QR code from your site by camera phone or tablet. In this case, how you doing?

In this paper, we introduce a method of using Dynamsoft Barcode Reader (DBR) SDK barcode / QR code scanning solutions from a mobile browser.

In the mobile browser, there are mainly two methods of decoding a barcode / QR code:

  • Server-side scanning
  • Client Scanning

Read a bar code from a live video stream of the client

Our technology is based on WebAssembly JavaScript barcode reader API allows you to adjust the camera to take real-time video streaming from PC and mobile phone browser to read the bar code. It supports real-time location from the video stream and decoding.

Supported pattern include:

  • One-dimensional bar
  • QR code
  • DataMatrix
  • Aztec Code
  • PDF417
  • More Pattern

Use JavaScript API, you can easily integrate bar code scanning workflow-based browser. On the phone, your customers and employees will no longer need to download the application.

Browser compatibility and performance data on the different browsers, see the best practices Dynamsoft Barcode Reader JavaScript Edition increase in speed .

Reading the bar code on the server side

Users can phone browser to access the web, capturing images or load an existing image, then upload it to the server, the server will decode the barcode content, and then returns the result of decoding.

The following video shows how it works:

Released six original articles · won praise 0 · Views 1374

Guess you like

Origin blog.csdn.net/weixin_44795817/article/details/105101873