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
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.txtpython barcode_reader.py1. 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.
Here are the relevant data curves that visualize the experimental results of our model.