Scan QR codes and barcodes with Python

preview_player
Показать описание
Support the channel via the links below:

The goal of this tutorial is to go through the code that allows the user to create a qr code and barcode reader using Python.
The video is divided into 3 parts:
Part 1 - How to read QR code and barcode from image
Part 2 - How to read QR code and barcode using your camera
Part 3 - How to create a system that checks the valid and used QR codes

The libraries used in this tutorial are cv2 and pyzbar.
Рекомендации по теме
Комментарии
Автор

Hey Kostadin, Thanks a lot for the video. It was really helpful. I'm that introvert who would watch videos and go silent without commenting in it. This video demands appreciation. Thanks again for the video.

sravanjosh
Автор

Great video. This tutorial enabled me to solve a problem.

Creationsdelacuisine
Автор

Thank you for posting this video, python just became less intimidating to me. Thanks again.

Sinclair
Автор

Did this and loved it. Thankyou soo much!

etigorkhe
Автор

Is this code useful for barcode scanners??

Tariquesumon
Автор

Thanks a lot for this video. It's very helpful.

jorgeluizdossantos
Автор

Hello Kostadin. Your tutorial is very helpful. Can i know, how can i put the data that was printed into a variable. Then, i can just use the variable to play around with the data such as insert into a database. Thank you in advance for your help!

mustaqim
Автор

Hello, wonderful demo !!! Can you help me resolving the below issue pls ?

When I use import statement as "from pyzbar.pyzbar import decode" and run the code (without any other executable lines), am getting the error "ImportError: Unable to find zbar shared library".

P.S - I did brew the ZBAR and then installed the PYZBAR as mentioned in one of the forums but still no luck...

Thanks in advance !

mohanprasath
Автор

Thank you so much bro.
I have a conflict, how add the code reader instead the camera?
I hope to answer me

Oussama-qphh
Автор

Hi, is the pyzbar only handling type EAN13 and QRCODE? I have once lable which is not seems to be working ... just wonder how many types pyzbar could handle...

joacimjohnsson
Автор

Hello @ Kostadin Ristovski, i would like to know if i use cv2 in a BeeWare python app, built it in Android. It would use the cam of the phone??? Or are more things necesary??

KudoMarkos
Автор

Hello Kostadin, how to connect the USB barcode scanner device to the code you have shown in the video? Thanking you in advance for your help!

te_b__parmesh_walunj
Автор

*HELPFUL TIPS* (will update) :—

1. myVidCap = cv2.VideoCapture(0, cv2.CAP_DSHOW) # CAP_DSHOW api opens camera MUCH faster than CAP_MSMF, at least on Windows.
2. flippedHorizontal = cv2.flip(frame, 1) # Flipping the output about the Y-axis.
cv2.imshow("Testing-Code-Scan", flippedHorizontal) # Change "frame" to the operation carried out on it.

vaibhavsrivastva
Автор

Hi,
This is great! May I ask if this would work with a Data Matrix?

kgoulas
Автор

Great video, thanks for posting it. How do you stop the camera and get out of the while loop after reading ONE barcode? Thanks

cocopalafox
Автор

Can we get the details(price) and store(price) in SQLite(database)

vivektiwari
Автор

Hello this is one of the best cv tutorial i ever watched. can i add script on this code where once i click the button this python code will run?

chadwick
Автор

Do this code work for barcode scanning machine than webcam..?

raghuram
Автор

I think it should be change to if the same code not get scan in a minute, it can rescan, it should be better if you make a bought list in supermarket

Mystery_Glitch
Автор

if it possible using raspberry pi zero w and camera to build a barcode scanner using tis code?
plz replay sir, if this works i like to build a portable scanning devices!

KartihkCg
welcome to shbcf.ru