Scan QR code with webcam #78
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It can be useful to share credentials in a trusted manner.
Using Termux
| qrencode -t UTF8
for instance.QRCodeScanner.py
:was taken on this Internet if I remember correctly.
It is stored on my Linux Mint 22.1 Cinnamon Framework 13 at
/home/benjamin_loison/Desktop/bens_folder/dev/python/projects/QRCodeScanner/
. Related to/home/benjamin_loison/Desktop/bens_folder/dev/python/projects/QRCodeReader/
taking an image like a screenshot if I remember correctly, see below.It is quite slow and has not detected my QR code this time but it already happened significantly in the past.
Maybe could investigate with scrcpy/blob/c5ed2cfc28ee7c7b59b11eb4db1258ac1c633bff/doc/v4l2.md to have better video stream.
QRCodeReader.py
:+7
DuckDuckGo and Google search Linux scan webcam QR code and qrscan GitHub.
DuckDuckGo search
"ERROR: no decode delegate for this image format"
.CoBang has 305 stars and last commit was last week.
https://www.reddit.com/r/linux/comments/vyshqm/comment/ig46a7t/
The Ask Ubuntu question 22871 raises this question.
Related to Benjamin_Loison/xclip/issues/1.
On my Debian 12 GNOME laptop:
Output:
Output:
Same with
/dev/video1
and without--raw
and--quiet
shows webcam video stream in realtime and when present a QR code, then get in the console:
Related to Benjamin_Loison/gnome-control-center/issues/48.
Could even make a tool to propose actions like Android when scan an arbitrary QR code, for instance to also just open a URL.
Output:
may help.
works as wanted to put QR code scanner content without displaying it to the clipboard that way up to someone seeing the QR code which is quite easy due to screen video feedback, it is secret privacy friendly supporting.
Related to Benjamin_Loison/Debian/issues/50.