Skip to content
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

Dark camera preview #38

Closed
brxtr opened this issue Jul 8, 2020 · 2 comments
Closed

Dark camera preview #38

brxtr opened this issue Jul 8, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@brxtr
Copy link

brxtr commented Jul 8, 2020

Testing the sample app with my Moto G (4) with Android 6.0.1 the camera preview is noticeably darker than the stock camera app. I believe this is because the FPS is too high for the dynamic exposure to work. There is probably a more sophisticated solution, but I found that setting the FPS with CameraSource.Builder.SetRequestedFps() fixed the issue. The maximum value to 1 dp that worked for me was 17.5f. Perhaps a configuration parameter could be added for FPS to allow this to be fixed while also allowing a higher FPS if that is preferred?

@JimmyPun610 JimmyPun610 added the enhancement New feature or request label Jul 9, 2020
@JimmyPun610
Copy link
Owner

Hi @brxtr

You may try 4.7.0.1 which allow you to set the RequestedFPS in xaml.
I didnt test it yet though.

It would be nice if you could let me know the result

@brxtr
Copy link
Author

brxtr commented Jul 9, 2020

It looks like it's working. Thanks for the quick response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants