Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nunogois/qrscannerpy
QR code scanner built in Python using PIL and pyzbar-x
https://github.com/nunogois/qrscannerpy
image json pillow python python3 pyzbar qrcode qrcode-reader qrcode-scanner
Last synced: 15 days ago
JSON representation
QR code scanner built in Python using PIL and pyzbar-x
- Host: GitHub
- URL: https://github.com/nunogois/qrscannerpy
- Owner: nunogois
- License: mit
- Created: 2021-02-08T18:13:26.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-08T21:38:45.000Z (about 4 years ago)
- Last Synced: 2024-11-27T17:12:21.450Z (2 months ago)
- Topics: image, json, pillow, python, python3, pyzbar, qrcode, qrcode-reader, qrcode-scanner
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# qrscannerpy
QR code scanner built in Python using PIL and pyzbar-xQR codes are scanned from a single image file or from a directory with multiple image files.
### Run it with parameters:
- Scan QR codes in file: `py qrscannerpy.py path\to\file.png`- Scan QR codes in directory: `py qrscannerpy.py path\to\dir`
- Scan QR codes in directory and output to mycodes.json: `py qrscannerpy.py path\to\dir mycodes.json`
### Or set advanced options in config.json:
```JavaScript
{
"outfile": "codes.json",
"path": "images",
"extensions": [
".png",
".tif",
".tiff",
".jpg"
],
"logfile": "logs.log",
"loglevel": "info",
"logformat": "%(asctime)s | %(levelname)s | %(message)s"
}
```## Pillow
https://pypi.org/project/Pillow/
## pizbar-x
https://pypi.org/project/pyzbar-x/