Skip to content

๐Ÿ”Ž Screen scan QRcode integrating with greenshot

Notifications You must be signed in to change notification settings

miracleexotic/scan-qrcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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