Skip to content

A script to brute force decode QR codes, mainly for decoding blurred or AI-generated QR codes that can't be scanned by WeChat.

License

Notifications You must be signed in to change notification settings

Tokeii0/LoveLy-QRCode-Scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LoveLy-QRCode-Scanner

这是干啥的

对二维码进行爆破解码的脚本,主要用来解码看不清或者微信无法正常扫描的AI生成的二维码

参考了qrcode-toolkit项目的解码功能

同样调用了WeChatCV/opencv_3rdparty的解码模型,然后对图片进行,亮度、对比度、模糊度调整,爆破解码

对AI生成的二维码有奇效

例子

QQ_1720310787282

QQ_1720310899349

QQ_1720311062281

关于版本

我使用的是

python 3.10.11 
opencv-contrib-python                    4.7.0.72
opencv-python                            4.7.0.72

pip 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-toolkit

https://github.com/WeChatCV/opencv_3rdparty

About

A script to brute force decode QR codes, mainly for decoding blurred or AI-generated QR codes that can't be scanned by WeChat.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages