cozmo / jsQR

A pure javascript QR code reading library. This library takes in raw images and will locate, extract and parse any QR code found within.
https://cozmo.github.io/jsQR/
Apache License 2.0
3.69k stars 607 forks source link

Would you consider exposing intermediate decoding data? #232

Open pbeart opened 1 year ago

pbeart commented 1 year ago

This is a fantastic library which I particularly appreciate for not taking a 'babying' approach to decoding: I am currently planning on writing a pinned version fork which exposes the decoder, extractor, binarizer etc modules, but I imagine there might be some value in having the metadata this return be exposed in this library? E.g. as well as returning raw data, the decoder could optionally return the pixel data found in the image, and potentially other information like the sequence of blocks found in the image.