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

Lock auto-exposure of camera #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

liqimai
Copy link

@liqimai liqimai commented Sep 30, 2015

When my finger touches the camera, the camera always automatically adjust exposure, so the images change regularly on a frequency of about 200Hz. I added some codes to lock AutoExposure, AutoExposureCompensation and AutoWhiteBalance.

When my finger touches the camera, the camera always automatically adjust exposure, so the images change regularly on a frequency of about 200Hz. I added some codes to lock AutoExposure, AutoExposureCompensation and AutoWhiteBalance.
@phishman3579
Copy link
Owner

Thanks @liqimai but it seems like you are using methods which were deprecated at API=21
http://developer.android.com/reference/android/hardware/Camera.Parameters.html

If you can update the code to use the latest API (23) then I'll merge in the pull request.

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

Successfully merging this pull request may close these issues.

2 participants