Commit d5983114 authored by Thorfin89's avatar Thorfin89

ajout du lecteur de code

parent e39797b5
......@@ -7,6 +7,8 @@ C'est en faite une interface graphique pour qrcode sous python.
- qrcode
- pillow
## Codage d'un accès Wifi :
ssid;T:WPA;P:password;;
## Sources :
......
......@@ -6,6 +6,8 @@ from tkinter import *
from tkinter import messagebox
from tkinter.colorchooser import askcolor
import segno
import qrcode
from qrcode.constants import ERROR_CORRECT_M
......
# installer le paquet : opencv-python
import cv2
d = cv2.QRCodeDetector()
val, points, qrcode = d.detectAndDecode(cv2.imread("qrcode.png"))
print("Le texte codé est :")
print(val)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment