调整过曝和过暗的阈值

master
Matthew 10 months ago
parent b6b7f47acf
commit 863f9e4018

@ -1640,7 +1640,7 @@ bool CPhoneDevice::OnImageReady(cv::Mat& mat)
#ifdef OUTPUT_CAMERA_DBG_INFO #ifdef OUTPUT_CAMERA_DBG_INFO
bool shouldRetry = false; bool shouldRetry = false;
if (captureResult.avgY > 245 || captureResult.avgY < 10) if (captureResult.avgY > 230 || captureResult.avgY < 25)
{ {
if (mPhotoInfo.retries < (DEFAULT_TAKE_PHOTO_RETRIES - 1)) if (mPhotoInfo.retries < (DEFAULT_TAKE_PHOTO_RETRIES - 1))
{ {

Loading…
Cancel
Save