From 977acefa568ca94860fd191407f4843e43132431 Mon Sep 17 00:00:00 2001 From: Matthew Date: Mon, 7 Oct 2024 14:24:08 +0800 Subject: [PATCH] Fix Bug --- app/src/main/cpp/PhoneDevice.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index cd36030c..73d715b2 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -1758,13 +1758,7 @@ bool CPhoneDevice::onBurstCapture(std::shared_ptr characteristi hdrplus::hdrplus_pipeline pipeline; pipeline.run_pipeline(rawFiles, 0, rgb); XYLOG(XYLOG_SEVERITY_ERROR, "Finish HDR CH=%u IMGID=%u", (uint32_t)mPhotoInfo.channel, (uint32_t)mPhotoInfo.photoId); - -#ifdef NDEBUG - for (auto it = rawFilePaths.cbegin(); it != rawFilePaths.cend(); ++it) - { - std::remove((*it).c_str()); - } -#endif + { cv::Mat tempPic = convert16bit2_8bit_(rgb); rgb = tempPic;