Skip to content

TaThanh200320/Webcam-Barcode-Scanner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webcam-Barcode-Scanner

Barcode detection with Deep Learning (YOLOv5) and decoding barcode using Pyzbar in Python

🚀🚀🚀The study was a collaborative effort involving Ng-Tuan-Anh and TaThanh200320

Installation

Clone repo and install requirements.txt

git clone https://github.com/Ng-Tuan-Anh/Webcam-Barcode-Scanner
cd Webcam-Barcode-Scanner
pip install -r requirements.txt

Usage

python barcode_reader.py

Training

1. Data preparation

Download the images (train, val, test) and labels for our BarcodeEpu2 dataset Our dataset contains over 3000 barcode images that have been labeled in the YOLO format, making it easy to use for training and testing computer vision models that can detect and decode barcodes.

2. Train

Our training is based on the YOLOv5 model, and our dataset is compatible with other YOLO models See the Training section of our notebook.

alt text Here are the relevant data curves that visualize the experimental results of our model.

About

Barcode detection with Deep Learning (using YOLOv5) and decoding barcodes using Pyzbar in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 64.1%
  • Python 35.9%