diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index 8887e4ac..e93b5f7a 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -1717,7 +1717,9 @@ bool CPhoneDevice::OnImageReady(cv::Mat& mat) std::string fullPath = endsWith(mPath, ".jpg") ? mPath : (mPath + CTerminal::BuildPhotoFileName(mPhotoInfo)); #ifdef OUTPUT_CAMERA_DBG_INFO + bool shouldRetry = false; +#if 0 if (captureResult.avgY > MAX_LIGHT_Y || captureResult.avgY < MIN_LIGHT_Y) { if (mPhotoInfo.retries < (DEFAULT_TAKE_PHOTO_RETRIES - 1)) @@ -1739,6 +1741,7 @@ bool CPhoneDevice::OnImageReady(cv::Mat& mat) mPhotoInfo.compensation = 2 * captureResult.avgY; } } +#endif #endif // OUTPUT_CAMERA_DBG_INFO if (!std::filesystem::exists(std::filesystem::path(fullPath)))