goishi
Version, currently master branch1 version
- master branchlatestJun 19, 2023
github.com/soya-daizu/goishi
An experimental QR Code locator/extractor in Crystal lang
Installation
# Add this to your shard.yml
dependencies:
goishi:
github: soya-daizu/goishi
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
1.7.2- License
- MIT
- Author
- soya_daizu
- Target
extract_testfrom examples/extract_test.cr
Dependencies
Runtime Dependencies
- goban*github: soya-daizu/goban, branch: develop
Development Dependencies
- stumpy_png*github: stumpycr/stumpy_pngdev
- stumpy_jpeg*github: stumpycr/stumpy_jpegdev
- stumpy_utils*github: stumpycr/stumpy_utilsdev
README
Goishi
An experimental QR Code locator/extractor library written purely in Crystal. It works on top of Goban, a QR Code encoder/decoder library, and takes a matrix of each source image pixel to locate and extract QR Code symbols in the image.
The library is already capable of locating/extracting regular QR Code symbols, however the implementation is not complete and may fail with some edge cases. The goal is to finish the implementation for regular QR Code and then expand it to support other QR Code types such as Micro QR and rMQR Code.
Installation
-
Add the dependency to your
shard.yml:dependencies: goishi: github: soya-daizu/goishi -
Run
shards install
Usage
See examples/extract_test.cr for the usage with stumpy_png to read, locate/extract, and decode QR Codes in the image.
Contributing
- Fork it (https://github.com/your-github-user/goishi/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- soya_daizu - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Jun 19, 2023
- Crystal
1.7.2- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/soya-daizu/goishi
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1