-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Frame processor is getting distorted, whereas inbuild code scanner is working fine #3336
Comments
Guten Tag, Hans here! 🍻 Thank you for providing detailed information about your issue with the frame processor. It seems there might be an actual bug or difference in how the processor is handling the frames compared to the built-in code scanner. However, I'd like to ask you to double-check your logs for any additional clues during the distortion of the frame. You can gather more logs by using Your logs are a bit sparse, and having more context would greatly aid in troubleshooting. If you're enjoying the library, consider supporting the project through sponsorship. This helps keep development going and ensures faster responses to issues like yours! Looking forward to more details!
|
Guten Tag, Hans here! 🍻 Thanks for providing ze detailed issue description, issue logs, and reproducible code. It looks like you have made a good effort in explaining what’s happening. However, to help mrousavy understand ze issue better, could you please check if there are any additional logs related to ze frame processor? You can gather logs using In ze meantime, it may also help to ensure your camera configuration is optimized for both barcode scanning and OCR processing. If you can gather more logs or provide insights on your setup, it would be really helpful! Feel free to reach out with more info!
|
Apparently the issue is with the camera format if you use the format key in the camera component is causes the frame to give distorted image even if you are using the current resolution.
|
What's happening?
I have to process the barcode and OCR both in my application therefore I am relying on frame processor but the frame processor returns distorted UI, even without using any other plugin. When I use the builtIn barcode scanner the video is not distorted but then for the OCR I have to rely on taking snapshots and processing that instead.
There is a major difference between built in frame processor and code scanner in all android devices.
This is from frame processor
This when using code scanner
Reproduceable Code
Relevant log output
12-20 15:06:34.738 31241 31879 I CameraView: invokeOnAverageFpsChanged(19.95798319327731) 12-20 15:06:34.772 31241 31430 I ReactNativeJS: 1080 12-20 15:06:34.776 449 31942 E awb_adpt: 2336, awb_sprd_ctrl_calculation_v3: check handle success 12-20 15:06:34.776 449 31936 E smart_ctrl: 1911, smart_ctl_calc_atm: jhin_atm atm_switch_state:0 1 12-20 15:06:34.776 449 31936 E smart_ctrl: 1914, smart_ctl_calc_atm: jhin_atm atm_version 2 12-20 15:06:34.776 449 31936 D ATM : 1099, atm_calc: smooth out frame_id 70 u4EVD 256 smooth u4EVD 256.000000 bv -266 12-20 15:06:34.779 449 31924 I Libae[HM]: 1073,hm:cam:ae,WEIGHT IS -267,0,6,15
Camera Device
Device
narzo 50i (Android)
VisionCamera Version
4.5.1/4.6.3
Can you reproduce this issue in the VisionCamera Example app?
Yes, I can reproduce the same issue in the Example app here
Additional information
The text was updated successfully, but these errors were encountered: