|
|
|
@ -1640,7 +1640,7 @@ bool CPhoneDevice::OnImageReady(cv::Mat& mat)
|
|
|
|
|
|
|
|
|
|
#ifdef OUTPUT_CAMERA_DBG_INFO
|
|
|
|
|
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))
|
|
|
|
|
{
|
|
|
|
|