Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tokeii0/lovely-qrcode-scanner
A script to brute force decode QR codes, mainly for decoding blurred or AI-generated QR codes that can't be scanned by WeChat.
https://github.com/tokeii0/lovely-qrcode-scanner
qrcode qrcode-ai qrcode-scanner wechatqrcode
Last synced: 19 days ago
JSON representation
A script to brute force decode QR codes, mainly for decoding blurred or AI-generated QR codes that can't be scanned by WeChat.
- Host: GitHub
- URL: https://github.com/tokeii0/lovely-qrcode-scanner
- Owner: Tokeii0
- License: apache-2.0
- Created: 2024-06-26T01:28:47.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-07T01:19:42.000Z (6 months ago)
- Last Synced: 2024-12-14T02:44:18.487Z (25 days ago)
- Topics: qrcode, qrcode-ai, qrcode-scanner, wechatqrcode
- Language: Python
- Homepage:
- Size: 95.8 MB
- Stars: 50
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LoveLy-QRCode-Scanner
### 这是干啥的
对二维码进行爆破解码的脚本,主要用来解码看不清或者微信无法正常扫描的AI生成的二维码
参考了[qrcode-toolkit](https://github.com/antfu/qrcode-toolkit)项目的解码功能
同样调用了[WeChatCV/opencv_3rdparty](https://github.com/WeChatCV/opencv_3rdparty)的解码模型,然后对图片进行,亮度、对比度、模糊度调整,爆破解码
对AI生成的二维码有奇效
### 例子
![QQ_1720310787282](https://github.com/Tokeii0/LoveLy-QRCode-Scanner/assets/111427585/2704c4dd-e813-4186-9177-f6af81dcb6e1)![QQ_1720310899349](https://github.com/Tokeii0/LoveLy-QRCode-Scanner/assets/111427585/6470f094-4a1b-4f01-ae03-a076d29f7f38)
![QQ_1720311062281](https://github.com/Tokeii0/LoveLy-QRCode-Scanner/assets/111427585/cbfc3ce4-1715-4740-aec3-abba80327b87)
### 关于版本
我使用的是
```
python 3.10.11
opencv-contrib-python 4.7.0.72
opencv-python 4.7.0.72pip install opencv-contrib-python==4.7.0.72 opencv-python==4.7.0.72 pyside6 numpy
```### 使用方法
```
python Gui_AutoVer.py #自动爆破版本
python Cli_AutoVer.py file [-arg] #命令行版本
python Gui_ManualVer.py #手动调参版本
```然后拖入文件
### 注意
文件名、目录名中不要有中文
### 参考项目
https://github.com/antfu/qrcode-toolkithttps://github.com/WeChatCV/opencv_3rdparty