You are browsing as a guest. Sign up (or log in) to start making projects!

3h 30m 21s logged

Completed the 2FA implementation and added QR code support. You can now import the 2FA QR Code and you will see the current secret code.
The biggest challenge was reading QR codes right everytime. I didnt know that opencv only reads qr codes with a white border, so some qr code did work and some didnt. This is why i added:

white = [255, 255, 255]
img_with_border = cv2.copyMakeBorder(
img, 20, 20, 20, 20,
borderType=cv2.BORDER_CONSTANT,
value=white
)

Which adds a white border around the qr code.

0
3

Comments 0

No comments yet. Be the first!