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

How to define a scan area #120

Open ghost opened 5 years ago

ghost commented 5 years ago

I am looking a way to define a scan area when user start scanning a sticker(containing QRcode) but getting a difficulty to understand a library. Actually i want that when scanning done successfully i need to share the image of scanned sticker but problem is that users can scan a QR code by placing a sticker either in middle or any other part of the camera which missed to grab a full sticker image at the end. I want to restrict a user and want to define an area where QR code only start detect for example in bottom right corner of a video. How i can do this ?