Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.

vsergeev/qrd

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Jan 18, 2011
QR Decoder
Supports QR code versions 1-40 containing numeric, alphanumeric, or 8-bit
byte data. BCH and Reed-Solomon error correction not implemented.

Note: the image processing is rudimentary. It detects the image origin by
the first black pixel encountered starting from the top-left corner. It
detects the bit pixel width by doing a horizontal and vertical scan from the
origin and finding the smallest run of black pixels. It detects the image
width by finding the last black pixel on a horizontal scan starting from the
origin, and the QR size by dividing this width by the bit pixel width.
This is suitable for online generated pixel perfect QR codes, but may need
some help (pre-processing) for less perfect images.

See qrd-test.txt for a sample output.

About

Simple QR Code decoder for educational purposes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages