react-native-vision-camera icon indicating copy to clipboard operation
react-native-vision-camera copied to clipboard

💭 Code scans only in the top right corner

Open alextusinean opened this issue 2 years ago • 2 comments

Question

Hello, I was testing this library on an Android emulator and it worked great. When I tried using it on a real device (Android), I encountered an issue. The barcodes were only scanned if they were in the top right corner of the preview.

Setting <Camera ... video={true} photo={true} /> solves the issue.

I thought of sharing this in case anyone runs into this and maybe raise awareness if it's an actual issue.

What I tried

No response

VisionCamera Version

4.5.1

Additional information

alextusinean avatar Aug 04 '24 14:08 alextusinean

Guten Tag, Hans here. Thank you for sharing your findings! It's good to hear that setting <Camera ... video={true} photo={true} /> resolved your issue. However, this report is more of a helpful tip than an actual bug report. For future testing, bitte provide logs or more details on the problem you encountered, so we can better assist you. If you want quicker responses for your issues, consider supporting the project by sponsoring. It helps us a lot! Danke schön!

Note: If you think I made a mistake by closing this issue, please ping @mrousavy to take a look.

maintenance-hans avatar Aug 04 '24 14:08 maintenance-hans

@alextusinean How can I reduce the size of a video that is 151 MB for a 1-minute recording? The bitRate setting does not seem to be working. https://github.com/mrousavy/react-native-vision-camera/issues/3113

vishalyad16 avatar Aug 04 '24 17:08 vishalyad16