Is it possible to only scan a small area within the camera view
It's normal to have a frame to scan the QR code. And I'd like to only scan QR code within that fram. Is it possible to only scan a small area within the camera view?
What's happening?
For example, I only want QR code within that sky blue frame to be scanned. How can I do this?
How can it be reproduced?
Build details?
It's not the cleanest solution but I'm using the onLayout function on the frame View and comparing the positions whenever it reads a code. Works well enough but I'm not terribly sure how accurate it is.
@gangwarily For the IOS QRCode Scanner, it's work perfectly with using your suggested solution. But Android this part, i found that the json data is not same as iOS, Android always return the same width and height(i guess it is camera view width and height?). Also the size of origin array sometimes is different and don't know each items are represent to which xy or corner.
any update for this?
any update?
any update?
https://github.com/moaazsidat/react-native-qrcode-scanner/issues/373 see this issue