Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.38 KB

File metadata and controls

34 lines (28 loc) · 1.38 KB

HTML5 Webcam Barcode Reader

The sample demonstrates how to implement a HTML5 Webcam Barcode Reader for both mobile and PC Web browsers with Dynamsoft Barcode Reader SDK and Java WebSocket.

Prerequisites

Get Started

  1. Import the websocket-server project to eclipse.
  2. Download the java library of Dynamsoft Barcode Reader and add it to the build path.
  3. Build and run the WebSocket server.
  4. Visit https://127.0.0.1:8443.
  5. Select a Webcam source. On mobile devices, you can toggle between front-facing camera and back-facing camera.
  6. Click button to detect barcode.

Mobile Screenshots

select camera

Desktop Screenshots

html5 webcam

Blog

How to Make HTML5 Barcode Reader with Desktop and Mobile Cameras