Please provide the following:
- 42
- Android
- EXPO-BARCODE-SCANNER or EXPO-CAMERA
Hello, I am searching for a possible way to reduce the camera scanning area, for the barcode scanner. For example, 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 (look gif down), because the camera still scans the full area, not just, for example, the rectangle.
This is not convenient at all to use.
This is how I have implemented it until now:
ThANKS for your time,