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

Fix "onlyInvert" inversionAttempts option #148

Open LakeGH opened 4 years ago

LakeGH commented 4 years ago

Fixes #118.

shouldInvert should also be true if options.inversionAttempts equals "onlyInvert".

LakeGH commented 4 years ago

Definitely recommend squashing last three commits on merge! Was mostly playing around with the tslint config in this project.