Android 相机捕捉 LCD 的最佳设置?
Best settings for Android camera to capture LCD?
我注意到 Android 相机会根据光线条件调整其设置。
我正在尝试捕捉 LCD 屏幕,我注意到有时光线调整不当会导致信息丢失。
这些设置重要吗?除了曝光补偿,我没有注意到太多变化。
我目前设置了以下设置:
mCamera.setPreviewTexture(surface);
mCamera.startPreview();
// Minimal exposure compensation to better quality of information
params.setExposureCompensation(params.getMinExposureCompensation());
// What's the best white balance for capturing LCDs?
params.setWhiteBalance(Camera.Parameters.WHITE_BALANCE_SHADE);
params.setSceneMode(Camera.Parameters.SCENE_MODE_AUTO);
// For my purpose I don't need antibanding..
params.setAntibanding(Camera.Parameters.ANTIBANDING_OFF);
params.setZoom(0);
// Focus mode fixed
params.setFocusMode(Camera.Parameters.FOCUS_MODE_INFINITY);
// Fix the auto exposure
if (params.isAutoExposureLockSupported())
params.setAutoExposureLock(true);
// Fix the white balance
if (params.isAutoWhiteBalanceLockSupported())
params.setAutoWhiteBalanceLock(true);
这些设置被证明适用于捕获 LCD,在应用我忘记的 camera.setParameters(params) 参数后。
我注意到 Android 相机会根据光线条件调整其设置。
我正在尝试捕捉 LCD 屏幕,我注意到有时光线调整不当会导致信息丢失。
这些设置重要吗?除了曝光补偿,我没有注意到太多变化。
我目前设置了以下设置:
mCamera.setPreviewTexture(surface);
mCamera.startPreview();
// Minimal exposure compensation to better quality of information
params.setExposureCompensation(params.getMinExposureCompensation());
// What's the best white balance for capturing LCDs?
params.setWhiteBalance(Camera.Parameters.WHITE_BALANCE_SHADE);
params.setSceneMode(Camera.Parameters.SCENE_MODE_AUTO);
// For my purpose I don't need antibanding..
params.setAntibanding(Camera.Parameters.ANTIBANDING_OFF);
params.setZoom(0);
// Focus mode fixed
params.setFocusMode(Camera.Parameters.FOCUS_MODE_INFINITY);
// Fix the auto exposure
if (params.isAutoExposureLockSupported())
params.setAutoExposureLock(true);
// Fix the white balance
if (params.isAutoWhiteBalanceLockSupported())
params.setAutoWhiteBalanceLock(true);
这些设置被证明适用于捕获 LCD,在应用我忘记的 camera.setParameters(params) 参数后。