SavyaSanchi's picture
|
download
raw
865 Bytes

WeChatQR — QR Code Detection and Decoding

QR code detection and decoding using WeChat CV Team's deep learning models, integrated via OpenCV contrib.


Models

File Role
detect_2026april.onnx Detects QR code regions in the image
sr_2026april.onnx Super-resolves each region for better decoding

Both models are passed directly to the WeChatQRCode API — no manual preprocessing needed.


Usage

python demo.py \
    --detect detect_2026april.onnx \
    --sr     sr_2026april.onnx \
    --image  example_outputs/input_image.jpg \
    --output example_outputs/output_image.png

Example Output

Input Output
input output

License

See LICENSE. Original models by WeChat CV Team.

Xet Storage Details

Size:
865 Bytes
·
Xet hash:
22bbc1d9beab6dffb4ccf9c6f5ca342273d5678830153128b754959712a0aff9

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.