├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .vscode └── settings.json ├── Cargo.toml ├── LICENSE ├── README.md ├── benches └── image_benches.rs ├── src ├── decode │ ├── mod.rs │ └── qr │ │ ├── blocks.rs │ │ ├── correct.rs │ │ ├── data.rs │ │ ├── decoder.rs │ │ ├── format.rs │ │ ├── galois.rs │ │ └── mod.rs ├── decoder.rs ├── detect │ ├── linescan.rs │ └── mod.rs ├── extract │ ├── mod.rs │ └── qr │ │ └── mod.rs ├── lib.rs ├── prepare │ ├── blockedmean.rs │ └── mod.rs └── util │ ├── chomp.rs │ ├── mod.rs │ ├── point.rs │ └── qr.rs └── tests ├── image_tests.rs └── images ├── multiple_codes.png ├── needs_alignment.jpg ├── version1_example.jpg ├── version1_example2.jpg ├── version1_example_large_border.png ├── version1_example_no_border.png ├── version1_example_upside_down.jpg ├── version3_example.jpg ├── version3_example2.jpg ├── version4_example.jpg └── wikipedia ├── version10_example.png ├── version1_example.png ├── version25_example.png ├── version2_example.png ├── version3_example.png ├── version40_example.png └── version4_example.png /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | **/*.rs.bk 3 | Cargo.lock 4 | /rls -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/README.md -------------------------------------------------------------------------------- /benches/image_benches.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/benches/image_benches.rs -------------------------------------------------------------------------------- /src/decode/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/src/decode/mod.rs -------------------------------------------------------------------------------- /src/decode/qr/blocks.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/src/decode/qr/blocks.rs -------------------------------------------------------------------------------- /src/decode/qr/correct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/src/decode/qr/correct.rs -------------------------------------------------------------------------------- /src/decode/qr/data.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/src/decode/qr/data.rs -------------------------------------------------------------------------------- /src/decode/qr/decoder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/src/decode/qr/decoder.rs -------------------------------------------------------------------------------- /src/decode/qr/format.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/src/decode/qr/format.rs -------------------------------------------------------------------------------- /src/decode/qr/galois.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/src/decode/qr/galois.rs -------------------------------------------------------------------------------- /src/decode/qr/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/src/decode/qr/mod.rs -------------------------------------------------------------------------------- /src/decoder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/src/decoder.rs -------------------------------------------------------------------------------- /src/detect/linescan.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/src/detect/linescan.rs -------------------------------------------------------------------------------- /src/detect/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/src/detect/mod.rs -------------------------------------------------------------------------------- /src/extract/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/src/extract/mod.rs -------------------------------------------------------------------------------- /src/extract/qr/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/src/extract/qr/mod.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/prepare/blockedmean.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/src/prepare/blockedmean.rs -------------------------------------------------------------------------------- /src/prepare/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/src/prepare/mod.rs -------------------------------------------------------------------------------- /src/util/chomp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/src/util/chomp.rs -------------------------------------------------------------------------------- /src/util/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/src/util/mod.rs -------------------------------------------------------------------------------- /src/util/point.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/src/util/point.rs -------------------------------------------------------------------------------- /src/util/qr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/src/util/qr.rs -------------------------------------------------------------------------------- /tests/image_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/tests/image_tests.rs -------------------------------------------------------------------------------- /tests/images/multiple_codes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/tests/images/multiple_codes.png -------------------------------------------------------------------------------- /tests/images/needs_alignment.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/tests/images/needs_alignment.jpg -------------------------------------------------------------------------------- /tests/images/version1_example.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/tests/images/version1_example.jpg -------------------------------------------------------------------------------- /tests/images/version1_example2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/tests/images/version1_example2.jpg -------------------------------------------------------------------------------- /tests/images/version1_example_large_border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/tests/images/version1_example_large_border.png -------------------------------------------------------------------------------- /tests/images/version1_example_no_border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/tests/images/version1_example_no_border.png -------------------------------------------------------------------------------- /tests/images/version1_example_upside_down.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/tests/images/version1_example_upside_down.jpg -------------------------------------------------------------------------------- /tests/images/version3_example.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/tests/images/version3_example.jpg -------------------------------------------------------------------------------- /tests/images/version3_example2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/tests/images/version3_example2.jpg -------------------------------------------------------------------------------- /tests/images/version4_example.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/tests/images/version4_example.jpg -------------------------------------------------------------------------------- /tests/images/wikipedia/version10_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/tests/images/wikipedia/version10_example.png -------------------------------------------------------------------------------- /tests/images/wikipedia/version1_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/tests/images/wikipedia/version1_example.png -------------------------------------------------------------------------------- /tests/images/wikipedia/version25_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/tests/images/wikipedia/version25_example.png -------------------------------------------------------------------------------- /tests/images/wikipedia/version2_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/tests/images/wikipedia/version2_example.png -------------------------------------------------------------------------------- /tests/images/wikipedia/version3_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/tests/images/wikipedia/version3_example.png -------------------------------------------------------------------------------- /tests/images/wikipedia/version40_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/tests/images/wikipedia/version40_example.png -------------------------------------------------------------------------------- /tests/images/wikipedia/version4_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piderman314/bardecoder/HEAD/tests/images/wikipedia/version4_example.png --------------------------------------------------------------------------------