Note : use miniconda env to run script and pyzbar to scan QRcode
Use python pip with miniconda
- git clone
$ git clone https://github.com/miracleexotic/scan-qrcode.git $ cd scan-qrcode
- create env
$ conda create --name ssQrcode python=3.9
- activate env
$ conda activate ssQrcode
- install dependencies requirements
$ pip install -r requirements.txt
Use python
$ python /path/to/scan-qrcode/scanQRcode.py /path/to/test/01.png
- right click in greenshot icon (bottom right in screen)
- choose Configure external commands
- click New in External command settings pane
- fill in
Name :
QRcode
Command :C:\Windows\System32\wscript.exe
Arguments :\path\to\scan-qrcode\invisible.vbs \path\to\scan-qrcode\run.bat {0}
Note : Edit run.bat with correct path
- press prtsc button
- crop QRcode
- select QRcode in menu pane
- click notification to copy message