GithubHelp home page GithubHelp logo

merricx / qrazybox Goto Github PK

View Code? Open in Web Editor NEW
331.0 331.0 40.0 2.18 MB

QR Code Analysis and Recovery Toolkit

Home Page: https://merricx.github.io/qrazybox/

License: MIT License

CSS 4.11% HTML 28.87% JavaScript 67.01%
analysis html javascript qrcode recovery reed-solomon web

qrazybox's Introduction

CRYPTO IS NOT CRYPTOCURRENCY (ノ°益°)ノ彡┻━┻

qrazybox's People

Contributors

coxxs avatar denysvitali avatar merricx avatar mrhso avatar theotheroracle avatar wphiphi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qrazybox's Issues

Tool support for ECI mode

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: …, ….

Corrupted data length recovery tool

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

DataMatrix

Hi! Thank you, great tool! Any plans about datamatrix code? :))

Is decoder correct?

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?

QR-demaged1

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
QR-qrserver1


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"...

QR-defect2

Load QR as background image?

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:
QR-NM-demaged

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

Perfect QR code:
QR-NM-damaged1

Support larger QR-Codes

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... :)

Perfect QR cannot be decoded

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:

QR-mp-testX

Similar QR code, no issue, encoded string is test0 and test5...
QR-mp-test0
QR-mp-test5

unclear wether in editor mode or decode mode

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"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.