merricx / qrazybox Goto Github PK
View Code? Open in Web Editor NEWQR Code Analysis and Recovery Toolkit
Home Page: https://merricx.github.io/qrazybox/
License: MIT License
QR Code Analysis and Recovery Toolkit
Home Page: https://merricx.github.io/qrazybox/
License: MIT License
Currently, tools like "Extract QR Information" fail on codes using ECI modes with "Invalid Encoding mode". Tested with a code beginning with mode: 7, ECI indicator: 26, mode: 4, length: …, ….
I was trying to recover a QR-code that had a completely destroyed data length segment...well, eventually i figured out how qr code works and semi-randomly got right bits...but i`d like to see a tool that helps with corrupted data length either entirely or patrially...by partially i mean that tool will show what are possible data lengths in current situation...and you will be able to set whatever length(of course if size of qr-code can contain that much data what you typed in length) you want and see the data in analyzer tool...would be very cool...
sorry for bad english, hope you understood everything that i said)
P.S.i think there is no need for separate tool, just add edit mode to analyzer tool
Hi! Thank you, great tool! Any plans about datamatrix code? :))
is there a specific reason no-quirks mode can't be used ?
I recovered QR code from an image, QRazyBox was able to decode the QR code. After close inspection, I see difference in one "dot", I cannot find any other difference but I can miss some other detail... The question is why source QR code differs from recovered QR code. Was source QR code generated with a defect? Is there a bug in QRazyBox decoder?
Recovered QR code:
#######__###_#__#_#######
#_____#___###__#__#_____#
#_###_#_#_###_#_#_#_###_#
#_###_#_##__###___#_###_#
#_###_#_#_#_##__#_#_###_#
#_____#_#_#_#####_#_____#
#######_#_#_#_#_#_#######
________##_##__#_________
#_#####___##_##___#####__
_#_#_#_####_____#__#___#_
___#_##_#__######___##_##
___##____###__#####_#___#
#___#_#______#___##_#_###
##__##__##__##__#__#_#_#_
#_###_#___#__#####_###_##
#_#____#_#__#__##__##___#
#_#_###_#___#########_#__
________##_____##___##___
#######__#_###__#_#_#_###
#_____#_#_##__#_#___##__#
#_###_#_#__##########_#__
#_###_#_#___##_#_##_#####
#_###_#_#_#__##_#____####
#_____#__#____########__#
#######_##_####__#_######
QR code that was manually modified to match source image, notice "?" in the bottom right corner...
#######__###_#__#_#######
#_____#___###__#__#_____#
#_###_#_#_###_#_#_#_###_#
#_###_#_##__###___#_###_#
#_###_#_#_#_##__#_#_###_#
#_____#_#_#_#####_#_____#
#######_#_#_#_#_#_#######
________##_##__#_________
#_#####___##_##___#####__
_#_#_#_####_____#__#___#_
___#_##_#__######___##_##
___##____###__#####_#___#
#___#_#______#___##_#_###
##__##__##__##__#__#_#_#_
#_###_#___#__#####_###_##
#_#____#_#__#__##__##___#
#_#_###_#___#########_#__
________##_____##___##___
#######__#_###__#_#_#_###
#_____#_#_##__#_#___##__#
#_###_#_#__##########_#__
#_###_#_#___##_#_##_#####
#_###_#_#_#__##_#____##?#
#_____#__#____########__#
#######_##_####__#_######
Online QR-generator that generates this QR code (one dot difference from QRazyBox)
Other online QR-generator
Other interesting point about this QR code is that when I scan it with Android barcode scanner Binary Eye, it claims that QR code has ECC recovery at level M and it "restores" QR code but the patterns is very different; I do not understand these low-level details so I cannot explain why the pattern is so different.... UPDATE: a bug in Binary Eye, it generates QR with ECC L...
Other interesting point is when I load this new pattern (created by Binary Eye) to QRazyBox and then I click to blue area in the top left corner, QRazyBox shows "ECC L, mask pattern 2"; Binary Eye
shows "ECC M", so there is a bug somewhere, I assume bug in QRazyBox... UPDATE: Binary Eye
restores QR code with "ECC L"...
I would like to have an option to upload damaged QR code as a background image to the editor. And have an easy option to show/hide that image.
An example of damaged QR to recover:
Maybe a manual mode to define position of "synchronization" marks (big black squares) can help too.
BTW, zbarimg
can decode this QR:
$ zbarimg --version
0.23
$ zbarimg QR-NM-damaged.png
QR-Code:[email protected]
scanned 1 barcode symbols from 1 images in 0 seconds
It looks like this tool is exactly what I searched for. However, my broken code has 65x65 pixels. Is it so hard to extend it? I can't believe this is exactly what I need and it refuses to work... :)
I have found a QR code that is not damaged but QRazyBox
cannot decode it; error is Couldn't find enough finder patterns (found 2)
.
I tried zbarimg
and barcode can be decoded, no issue:
$ zbarimg --version
0.23
$ zbarimg QR-mp-testX.png
QR-Code:testX
scanned 1 barcode symbols from 1 images in 0.01 seconds
QR was generated with qrencode -l M -t utf8 -c 'testX'
, QRazyBox cannot decode it:
Similar QR code, no issue, encoded string is test0
and test5
...
the button to switch between modes seems to indicate which mode it's in, but it's much more common convention to have the button say what action clicking it will take, so for example, enter edit mode . i think it would be even clearer if there was a header above the button that says what mode you're in, and have the button just say "decode" or "edit" or maybe even just "switch mode"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.