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.7k stars 607 forks source link

`onlyInvert` mode doesn't work #118

Open danimoh opened 5 years ago

danimoh commented 5 years ago

Hello.

Unfortunately, the onlyInvert mode is currently not working, as shouldInvert in src/index.ts stays false and therefore binarize does not actually generate an inverted image.