-
-
Notifications
You must be signed in to change notification settings - Fork 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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃悰 Black Screen in Samsung S22 S23 ultra and some other devices when frame processor is on. #2301
Comments
@satyajitdas95 can you give me your sample code with import package. Because i am also facing same type of issue. |
looks like duplicate. It's same issue: #2291 |
Hey, guys! I encountered an issue in my app on Android 11 physical devices. The successful solution for reading QR codes involved the following settings:
If you're using CodeScanner, you can achieve success with just the following statement:
I had to lock the library version at 3.6.12, and at least for me, this solution worked. |
I am also facing the same issue with Samsung A Series devices. |
I sometimes encounter a black screen or black stripes during |
Maybe something that might narrow down the possible causes of the error. I have tested it on two different samsung phones (s20 and s22 and for me the problem seems to appear when
When I'm using the s22 phone with android 13, frameproccessors on and pixelformat yuv everything seems to work well. I'm thinking there might be an issue with the available pixelformats on different android versions? I've been trying to read the docs for the different androud versions and I'm not sure its a dead end, Both android versions shoud support the pixelformat YUV_420_888 that is specified in the lib. But I'm thinking there might be something that makes the selected format fall back to native. Android docs: |
same issue always open black screen camera is not opening |
Stylesheet.absoluteFill is required it not applied then getting white screen and without SafeAreaView black screen appeared. |
Hey! Thanks for reporting this issue. I've been working the past days on making sure the Camera lifecycle is safely handled and released when needed, so this crash doesn't occur anymore. I just created a PR for this - can you please this to see if that fixes the issue for you? #2339 If this fixes your issue, please consider 馃挅 sponsoring me on GitHub 馃挅 to support me / thank me for building VisionCamera and continuously improving it. If this does not fix your issue, please clone the repo, check out the branch Thank you! 馃檹 |
What's happening?
Whenever I am using frameprocessor the black screen is coming . Few devices i am listing below
Samsung s22 ultra
Samsung s23 Ultra
Oneplus 10R
Motorola Edge
With-out
frameprocessor
everything is fine. Probably resolution of processing frame and capturing in device causing the issue. as i debugged frameprocessor is working fine. Its able to detect faces wheather 1 or 2. That means only the preivew have the problem.Reproduceable Code
Relevant log output
Camera Device
Device
Samsung s22 ultra Android 13 and Android 14,Samsung s23 Ultra Android 13 and Android 14, Oneplus 10R Android 13,Motorola Edge Android 13
VisionCamera Version
3.6.17
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: