bibliothèque python pour créer des codes qr
import qrcode
img = qrcode.make('Some data here')
code qr en python
import qrcode
qr = qrcode.QRCode(
version=1,
error_correction=qrcode.constants.ERROR_CORRECT_L,
box_size=10,
border=4,
)
qr.add_data('Some data')
qr.make(fit=True)
img = qr.make_image(fill_color="black", back_color="white")
décomposition qr python
array = np.array([19, 14, 16, 13, 15,15,12,8,9,18,12,5 ]).reshape(4,3)
q,r = LA.qr(array)
r
# if diagonal exponent is zero, then v_i should be removed
qrcode.faire python
pip install qrcode[pil]