0
我注意到Android相機根據光線條件調整其設置。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);