Please provide the following:
- 49
- Android and iOS
- expo-camera and expo-barcode-scanner
Hey there!
I am looking for a way to limit the scanning area of the expo camera for the usage of the barcode scanner.
react-native-camera has a prop called → rectOfInterest, where you can write: x,y, width, height and make just that area scannable.
I have built a mask to show “the scannable area”, where I got the scanned barcode bounds
but the bad side is that for example if there are multiple barcodes (usually there are), you have to cover the other barcode with your hand or something, because the camera still scans the full area, not just, the rectangle.
Please advice on how it is best to handle this