Skip to content

kcchien/detect-barcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Detect and Decode barcode in an image file

This utility will load an image and try to find if any barcode exists. Then decode them with Zbar library.

Prerequisites

The code were written in python. Please make sure you have correspond environment.

  • Python 3
  • OpenCV
  • ZBar library
# Install required packages
sudo apt update
sudo apt install libzbar-dev
pip install opencv-python
pip install pyzbar

Usage

python detect_barcode.py -i "<your image path here>"

Contact

Kuang-Cheng, Chien - me@kcchien.com

About

Detect and decode barcode in an image file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages