Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 711 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 711 Bytes

QR Code Generator

This is a QR code generator demo, I only implement mode Alphanumeric with version 2.

Usage

git clone https://github.com/NeymarL/qr_code.git
cd qr_code
chmod 755 main.py
./main.py -d "The data you want to encode" -e "Q"

Command line option

  • -h list usage
  • -d <data> The data you want to encode
  • -e <level> The error correction level, one of {'L', 'M', 'Q', 'H'}
  • -s <path> Save the image, path is the path you want to save, include file name
  • --notshow Do not show the image
  • --size <size> Change the image size

Requirements

  • numpy
  • matplotlib

More

https://www.52coding.com.cn/index.php?/Articles/single/57

My Website