How to Detect QRCode and BarCode using OpenCV in Python + Project

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 209

  • @girlengineer23
    @girlengineer23 4 года назад +16

    You create awesome videos with a simple explanation, thanks for saving my time in the search of contents to learn and sharing your knowledge too.

    • @murtazasworkshop
      @murtazasworkshop  4 года назад

      You're very welcome! I am Glad the videos are helpful

  • @angelinefloralde9650
    @angelinefloralde9650 2 года назад +2

    The comnt section is very positive and downright encouraging! Love it!

  • @kesegocyrilmokgosi651
    @kesegocyrilmokgosi651 4 года назад +50

    this saved me 16 hours of no sleep

  • @ashutoshvarma5586
    @ashutoshvarma5586 4 года назад +2

    Sir 100k is not far.....your work is amazing!!!

  • @cheok312
    @cheok312 4 года назад +5

    This is exactly what I am looking for! You save me!

  • @nkorochinaechetam2516
    @nkorochinaechetam2516 Год назад +1

    Very amazing explanation. Loved the verification ("authorized" "not authorized part")

  • @sudeepdeep5389
    @sudeepdeep5389 4 года назад +9

    Your channel is a god's gift to me bro❤️tnquu soo much for making these wonderful videos

  • @tk0014
    @tk0014 2 года назад

    Thank you verrrrry much. I've been looking for such a simple qr scanner for a long time.

  • @shivamkumar-qp1jm
    @shivamkumar-qp1jm 3 года назад

    One of the best channel of RUclips thank you thank you for this

  • @kirksurber7262
    @kirksurber7262 4 месяца назад

    Great video! This was well done, easy to follow and helped me knock out a quick project!

  • @RafaelOliveira-yl3te
    @RafaelOliveira-yl3te 3 года назад +1

    very good indeed, your work is fantastic, even with my difficulties in English, I can understand! thank you so much!

  • @buddycorlett
    @buddycorlett Год назад +2

    Great video, I'm having trouble getting the web cam to scan my barcode. The program is working, but the specific barcode I need to use it with doesn't scan.

  • @darceymirel6397
    @darceymirel6397 2 года назад

    i'm doing a project for my alevels right now and this is really helpful - thank you :)

  • @onalethatamaswabi3474
    @onalethatamaswabi3474 3 года назад

    Short, powerful & detailed. I like it

  • @FlexTCWin
    @FlexTCWin 2 года назад +1

    Fantastic video!

  • @robabsolent
    @robabsolent 3 года назад +1

    Thank you so much Murtaza!

  • @reng7777
    @reng7777 2 года назад

    GENIUS!!My friend can you continue this video with a time and attendace report that is collected by PY and dumped into a monthly report?

  • @thanawintipyathon4061
    @thanawintipyathon4061 4 года назад +1

    Thank a lot for this tutorial.
    You can scan the code Then the program will show the value once And you can also scan the previous code again !?

  • @aleynaabanuz6696
    @aleynaabanuz6696 2 года назад +1

    Thanks for THY video but I can’t install pyzbar. I mean I installed pyzbar but when I run the codes return some error. I tried install pyzbar via pip but it is same. There are many error message about dependencies. What is my mistake?

  • @syedmohammedmustafahasan4085
    @syedmohammedmustafahasan4085 3 года назад +3

    Hey, I am able to import the zbar libary but when i do import pyzbar.pyzbar import decode it is giving an error.

    • @Cnys100
      @Cnys100 3 года назад

      Hi Syed i have the same problem!
      do you find a solution to the problem?

  • @talentzunlimited1398
    @talentzunlimited1398 2 года назад

    Loved this video very much ! Also got some ideas how to create a bigger project out of it by using many more functionalities !!! Thank you so much ! ❤🙏🙏🙏

  • @jihadgamal9793
    @jihadgamal9793 2 года назад

    Well to be fair shape of you lody softs just like the first random notes that popped into Nice tutorials head

  • @samiabity
    @samiabity 2 года назад

    I have very great respect for you! you solved a lot of problems for me.

  • @ramister1986
    @ramister1986 3 года назад +1

    Thanks for your explanation! I do still have a question: stead of open a camera, can I read my screen and capture a QR code data from a video?

  • @vineelagiddaluru1739
    @vineelagiddaluru1739 2 года назад +1

    Hello sir Iam getting lot of errors in pyzbar package what should I do

  • @maryamforouzan7403
    @maryamforouzan7403 2 года назад +1

    hello sir
    Thanks for all your tutorials, since they were really useful and complete. I would be thankful if you answer one of my questions please: How could we increase the resolution of the image so that the barcode would be recognized faster? Sorry that I ask because I am occupied with a project that is compiled on a tablet and the resolution of the webcam is low.
    Sincerely yours,

  • @magbomajoshua1585
    @magbomajoshua1585 9 месяцев назад

    You never disappoint.

  • @r-beanmondy6203
    @r-beanmondy6203 3 года назад

    You are my hero dude. I can understand your simple explanation. Thx
    I wanna ask something, if I use very little barcode is it still working?

  • @lykapascual345
    @lykapascual345 2 года назад

    Hey man, It works great and without any problems.

  • @azharulislamsomon4615
    @azharulislamsomon4615 3 года назад +1

    That's a great video. Can you help me, how can I change data in my database by scanning the QR code ? For example, we can see normal shops use scanner and toke price and do others functionalities.

  • @PhrAntoine
    @PhrAntoine 3 года назад

    This is amazing and presented so simple

  • @nunbu7601
    @nunbu7601 3 года назад

    It's a good video, this video helped me a lot. THX.

  • @prashikganer4820
    @prashikganer4820 3 года назад

    Simply Awesome!

  • @fahmiftahul
    @fahmiftahul 3 года назад

    It is helpful!
    By the way, is it possible to make this as android apps?

  • @alwandiaridwanwadiska690
    @alwandiaridwanwadiska690 4 года назад

    excellent, your explain it very well. Thanks bro

  • @lierkiboy1736
    @lierkiboy1736 6 месяцев назад

    can your code scan the micro QR Code with an acceptable certain range from a webcam? or is there any specific code to do with it?

  • @pitertoc448
    @pitertoc448 3 года назад

    you got a new subscriber you diserve it

  • @mangotofu1360
    @mangotofu1360 2 года назад

    Thank you this helped!

  • @naresh2934
    @naresh2934 3 года назад

    great learning videos sir, Thanks for it.

  • @user-en7fz2ms9k
    @user-en7fz2ms9k 2 года назад

    Thank you, bro!

  • @ice-skully2651
    @ice-skully2651 Год назад

    Hello sir, thanks for the explanation
    I would like to know how to stop the video recording on demand

  • @fatemehjasbi2245
    @fatemehjasbi2245 8 месяцев назад

    Perfect👌

  • @francisgikaru4303
    @francisgikaru4303 2 года назад

    This is very awesome, thank you so much.

  • @OnlyDjango
    @OnlyDjango 3 года назад

    you are a great man !!!

  • @murtazaali1077
    @murtazaali1077 4 года назад +2

    Hi Murtaza , i am getting error "ImportError: Unable to find zbar shared library" i have installed through pycharm
    Just to add , i am using MAC OS

  • @urvipasad8622
    @urvipasad8622 4 года назад

    Nice project.. simple and easy explanation.thank u so much for sharing your knowledge.this is really great

    • @murtazasworkshop
      @murtazasworkshop  4 года назад +1

      Glad you liked it

    • @urvipasad8622
      @urvipasad8622 4 года назад

      @@murtazasworkshop : I am facing issue with video capture object it says no method in the class cv2 even though I have installed opencv python library in pycharm...any idea how to resolve this?

  • @khairunamira810
    @khairunamira810 3 года назад

    hi, your video really helps me as i have zero knowledge about this. but can you list the hardware/stuff?

  • @ram1879
    @ram1879 4 года назад

    Excellent!!!

  • @GUDIMETLADINESHRA
    @GUDIMETLADINESHRA 3 года назад

    Which Camera are you starting broo? because i have front cam for my laptop but its not starting

  • @D20809
    @D20809 Год назад

    Thank you so much brother Bt i want Some details about the QR code .
    How to sync people data's to the QR code ?

  • @jearbecerro1167
    @jearbecerro1167 4 года назад

    Great Work, I love this :)

  • @m.furkandogan23
    @m.furkandogan23 11 месяцев назад

    which programme did you use? spyder?

  • @pitertoc448
    @pitertoc448 3 года назад

    thank you so much for sharing, You are a gentlemen

  • @esooghazy
    @esooghazy 2 года назад

    Murtaza... I'm in love with your awesome videos! I really like their simplicity. Thanks a lot!

  • @DataNovelties
    @DataNovelties 3 года назад

    Wow; how lovely 😍

  • @PIDOtomasyon
    @PIDOtomasyon 2 года назад

    Thank you so much.

  • @carylgastardo8913
    @carylgastardo8913 4 года назад +1

    Thankyou for sharing your knowledge sir, can you please send the source code sir for academic purpose only

  • @hamas0
    @hamas0 2 года назад

    Thanks for this helpful tutorial, but can I know if pyzbar need some kind of internet to recognize the zbars? case main can't recognize any bar, its like that it didn't enter the loop.

  • @kanapotmungthong9944
    @kanapotmungthong9944 3 года назад

    thank you professor

  • @animemv2941
    @animemv2941 3 года назад

    Can I ask? What algorithm is being use here? Thank you for answering!

  • @jonathanferreira8295
    @jonathanferreira8295 Год назад

    Muito bom, codigo curto, limpo e com muito aprendizado, Obrigado

  • @zytan8835
    @zytan8835 2 года назад

    thank you bro thank you

  • @rodrigobucrin7912
    @rodrigobucrin7912 4 года назад

    Another good job!!

  • @sureeya1093
    @sureeya1093 9 месяцев назад

    hi sir,
    I am developing an inventory management drone so I was surfing through the RUclips and found your video , I tried to install & run the code but I got " zbar not found error" .Can you please help me with that?

  • @humayunnasir6261
    @humayunnasir6261 3 года назад

    excellent video

  • @BieAnimation
    @BieAnimation 3 года назад

    Thanks so much

  • @jagirsingh2630
    @jagirsingh2630 4 года назад

    great learning

  • @muhammadshaheer6158
    @muhammadshaheer6158 Год назад

    Hi sir, can you tell why we are using numpy? because pyzbar can alone work with opencv.

  • @dipinadhikari9549
    @dipinadhikari9549 4 года назад +1

    Sir I can't open my camera. It is showing such errors
    E:\python\python.exe C:/Users/User/PycharmProjects/first/main.py
    File "C:/Users/User/PycharmProjects/first/main.py", line 11
    cap = cv2.VideoCapture(0)
    ^
    IndentationError: unexpected indent
    Process finished with exit code 1

    • @vedsaga
      @vedsaga 3 года назад

      You done indentation error... Check if you used extra Tab? In line 11

  • @vineelagiddaluru1739
    @vineelagiddaluru1739 2 года назад +1

    There is a error in pyzbar how to solve it plss reply me

  • @santarojoe1
    @santarojoe1 3 года назад

    I love your (w)ideos !! ;)

  • @r1rmndz507
    @r1rmndz507 3 года назад

    awesome!

  • @kumareshmusk
    @kumareshmusk 2 года назад +1

    How to small font on putTex ?

  • @georgekhabaze6619
    @georgekhabaze6619 2 года назад

    python newbie here and struggling with dependency in my code i used venv but still opencv works half the time and cv2 lose his libraries aany advice?

  • @walidramdani3953
    @walidramdani3953 4 года назад

    thanks a lot for this tutorial :)

  • @ezequielbecerra6992
    @ezequielbecerra6992 4 года назад +1

    Sir, thank you very much for your tutorial. Could you please help me with Barcodes, i've test a few different but thay are not recognized, whay could be happenning?

  • @saeedalikhan7128
    @saeedalikhan7128 2 года назад

    Nice brother

  • @filipaalexandraamarelinho6964
    @filipaalexandraamarelinho6964 3 года назад

    I have a question, where you write " myData = barcode.data.decode("utf-8")" , what happens if you don't write ("utf-8") ?

  • @thet0ast3r
    @thet0ast3r 3 года назад

    hello, how do you get such a fast frames per second rate, if i do this i only get about 2 frames per second in the detection.

  • @MdRana-dg1lj
    @MdRana-dg1lj 3 года назад

    Sir, I wrote same code same as your one to with open myDataFile.text, read lines, but when I rum code, it doesn't print data from myDataList. please help me out why it doesn't print

  • @abiddhiya5667
    @abiddhiya5667 4 года назад

    sir you are amazing thanks lot ♥

  • @hoomanetesamifard5995
    @hoomanetesamifard5995 3 года назад

    Hi Murtaza
    Would it be possible to make another toterial to show how to send the barcodes to another TCP client .
    Thank you

  • @gopitharanm1301
    @gopitharanm1301 3 года назад

    Which device is used to scan?

  • @wei-chenliou7473
    @wei-chenliou7473 2 года назад

    Can you use the opencv get the qr code version, error correction level and mask ?

  • @Rodrigo.S.Santiago
    @Rodrigo.S.Santiago 2 года назад

    Hello Murtaza, is it possible to measure the rotation of the Qr code or the location of the squares ?

    • @Rodrigo.S.Santiago
      @Rodrigo.S.Santiago 2 года назад

      It is possible using the contour detection, the onle trick is to know the relation between the Qr Code area and que corner's square area

  • @endispiri3412
    @endispiri3412 7 месяцев назад

    Does the version of pycharm matter for this project?

  • @usmanawan865
    @usmanawan865 4 года назад

    this is amazing , how do you program all these things are you machine learning expert

  • @csl818
    @csl818 4 года назад

    Hi Murtaza - good work!! saw many request below on reading DATA MATRIX but did not see your reply..so can it be done? or do you plan to make one ?? Thanks

  • @roghibashfahani15
    @roghibashfahani15 Год назад

    is this same as YOLO method?

  • @dishabhatti6456
    @dishabhatti6456 4 года назад

    Superb...

  • @kifahesmaelitdept9525
    @kifahesmaelitdept9525 2 года назад

    Hellow
    Camera dos’nt stop
    Even if i click on x in control box

  • @thenightmaregamer931
    @thenightmaregamer931 2 года назад

    nice

  • @fariahasan3965
    @fariahasan3965 Год назад

    Can someone tell me what is the prerequisite for doing this project.I am new in opencv, computer vision world.

  • @nguyentranquoc3143
    @nguyentranquoc3143 2 года назад

    What is the algorithm used in this project? please answer my question

  • @mohamedsalah-uh2js
    @mohamedsalah-uh2js 4 года назад

    i got this error ,
    CvCapture_MSMF::initStream Failed to set mediaType (stream 0, (640x480 @ 30) MFVideoFormat_RGB24(codec not found)

  • @alfandi2397
    @alfandi2397 4 года назад

    great post !, but im just wondering how to get the x,y cordinates from the rectangle, could you help me with this case ?

  • @maiduyduong3051
    @maiduyduong3051 3 года назад

    help me, my camera freezes while running the code and i don't know how to solve it

  • @kanapuramharshini7327
    @kanapuramharshini7327 2 месяца назад

    great project.but i am unable to run the last part authorized and unauthorized part...is anyone facing same issue..?

  • @suman.p6566
    @suman.p6566 2 года назад

    Awesome project, I tried replicating it but I keep getting the "FileNotFoundError", it dosn't seem to find the text file no matter where I put it, any ideas?

  • @rofu37
    @rofu37 2 года назад

    Cool