Skip to content

This is a Python script that decodes barcodes in images using the `pyzbar` library of Python

Notifications You must be signed in to change notification settings

metarex21/Barcode-Reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Barcode Reader

This is a simple Python application that allows you to decode barcodes from image files using the pyzbar library and display the decoded data in a graphical user interface (GUI) built with the tkinter library.

Prerequisites

Before you can run this application, you need to have the following libraries installed:

  • pyzbar: A Python wrapper for the ZBar barcode library, which provides functions to decode barcodes from image files.
  • opencv-python: A Python wrapper for the OpenCV computer vision library, which provides functions to read and manipulate image files.
  • Pillow: A Python imaging library that provides functions to resize and display images.

+You can install these libraries using pip, the package installer for Python. Open a terminal or command prompt and run the following commands:

pip install pyzbar
pip install opencv-python
pip install Pillow

How To Use

To use this application, follow these steps:

1. Clone or download the repository to your local machine.

image

2. Open the project folder, navigate to the main folder, right click and press Open in Terminal.

image

3. Run the following command to start the application:

python barcode_reader.py

image

4. A dialog box will pop

image

5. Click the "Select barcode image" button and choose a barcode image file from your computer.

image

6. Click the "Decode barcode" button to decode the selected image and display the decoded data in the GUI.

image

Acknowledgments

About

This is a Python script that decodes barcodes in images using the `pyzbar` library of Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages