olivertylsar
olivertylsar
I noticed the same thing.
Yes, same problem here. Everything is fine until I call `pausePreview` or `resumePreview` in an `useEffect` callback. Any updates on this?
Same issue was reported in a Flutter camera library. https://github.com/juliansteenbakker/mobile_scanner/issues/698 They belive the issue can be fixed by changing the image format from `YUV` to `NV21` before passing it to...
I tried these tips from https://github.com/mrousavy/react-native-vision-camera/issues/3248#issuecomment-2789562786 and in my case, just passing `photo={true}` to the `Camera` component fixes the issue. I'm not sure how exactly this prop impacts this issue,...
@zwerg44 Passing `photo={true}` indeed fixed the issue for the A23 model. The `format` prop workaround didn't work for me and was causing black screen. But I recommend to use `photo={true}`...
Same problem occurs on **Realme C67**. QR code is only detected in the top-right corner on this device. I assume the workaround will work for this device as well. @zwerg44...
Hi @latekvo, I tried the FlashList example in the PR's branch and the results are much better now. The FPS still drops but only to something like 68 on average....
@hardikpatelks It's a known issue, the scan works only in the top-right corner of the frame on this device. See this issue https://github.com/mrousavy/react-native-vision-camera/issues/3434 for a workaround.
I'm also facing this issue with the A23 model using the `useCodeScanner`. If I understand it correctly, the frame processors have to be used to be able to specify custom...
Yes, this issue is still relevant. Would be good if this was the default behavior. I proposed it last year, but received no response unfortunately. https://github.com/mrousavy/react-native-vision-camera/issues/2128#issuecomment-2129429930