/scan-qrcode

🔎 Screen scan QRcode integrating with greenshot

Primary LanguagePython

Scan QR code

Note : use miniconda env to run script and pyzbar to scan QRcode

Install

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

Used

Use python

$ python /path/to/scan-qrcode/scanQRcode.py /path/to/test/01.png

scan QR-code scan result

Integrating with greenshot

↓ Download Greenshot

  1. right click in greenshot icon (bottom right in screen)
  2. choose Configure external commands
  3. click New in External command settings pane
  4. 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

Use greenshot
  1. press prtsc button
  2. crop QRcode
  3. select QRcode in menu pane
  4. click notification to copy message