Skip to content

lzs4073/webcam-barcode-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reading Barcode with Webcam in Python

The sample demonstrates how to create a simple Webcam Barcode reader in Python.

image

Installation

How to Run

  1. Copy <opencv_installation_dir>\build\python\2.7\x86\cv2.pyd to <Python27>\Lib\site-packages\cv2.pyd
  2. Build Dynamsoft Barcode Reader library for Python. Please refer to https://github.com/Dynamsoft/Dynamsoft-Barcode-Reader/tree/master/samples/Python
  3. Copy DynamsoftBarcodeReader.pyd and DynamsoftBarcodeReaderx64.dll / DynamsoftBarcodeReaderx86.dll to the project folder.
  4. Connect a Webcam to your PC. Make sure you have installed the Webcam driver.
  5. Open cmd.exe, locate your project folder and type in python webcam_barcode_reader.py
  6. Press Enter to capture a frame and then recognize Barcodes.
  7. Press ESC to close the program.

Blog

Reading Barcode with Webcam in OpenCV and Python

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages