From d61784a81db34dfedf1aa11a6b21979abe1d9b4a Mon Sep 17 00:00:00 2001 From: Matthew Date: Mon, 29 Apr 2024 11:58:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8B=8D=E7=85=A7=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E4=BF=A1=E6=81=AF=E8=BE=93=E5=87=BA=E7=9A=84=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E5=AE=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/cpp/PhoneDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index 92f5882e..0e1c4f9b 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -1191,7 +1191,7 @@ bool CPhoneDevice::OnImageReady(cv::Mat& mat) } } -#ifdef _DEBUG +#ifdef OUTPUT_CAMERA_DBG_INFO cv::Scalar scalarRed(0, 0, 255); // red @@ -1216,7 +1216,7 @@ bool CPhoneDevice::OnImageReady(cv::Mat& mat) textSize = ft2->getTextSize(str, fs, -1, &baseline); ft2->putText(mat, str, cv::Point(0, mat.rows - fs - 20 * ratio), fs, scalarRed, -1, cv::LINE_AA, false); -#endif +#endif // OUTPUT_CAMERA_DBG_INFO for (vector::const_iterator it = mOsds.cbegin(); it != mOsds.cend(); ++it) {