Create and read Qr Code using Python

Jayateerth Dambal
2 min readNov 28, 2020

A Quick Response Code usually called as QR Code is a Two-Dimensional Pictograph code used for it’s fast and easy readability and a large storage capacity. The Code has black modules arranged in a Square Pattern on a clear white Background. The information is encoded in any kind of following Data:-

  1. Binary
  2. Alphanumeric
  3. Kanji Symbols

Required Python Modules:-

qr code → It is a module which generates QR Code.

Opencv-Python → Opencv is a most used for image manipulation and you can also perform many other activities with it. The Qr Code generator is a new update in the Opencv-Python Library.

Installation pip install qrcode

Installation pip install opencv-python

Code to Generate QR Code with qrcode Library:-

The Output of the code is a ‘PNG ’ file.

Output →

Output of First Code

Code to read QR Code From Image:-

Output of the Code → https://techfandome2020.netlify.app/

It is our College Club Please take a look to our Site and also Join us on WhatsApp

Read the QR Code with Webcam using OpenCV-Python:-

It was a very nice session with you guys. Please follow for new updates and such great tricks with python and other Programming languages

Thank you For Visiting My page. Please Follow.

--

--

Jayateerth Dambal

Python Developer | Machine Learning | Data Scientist | Always High on Enthusiasm | Open-Source Believer