屏蔽调试信息

This commit is contained in:
13038267101 2023-06-15 09:43:33 +08:00
parent 694fc5855f
commit bef5b4f2e7
1 changed files with 2 additions and 2 deletions

View File

@ -511,7 +511,7 @@ namespace hg_imgproc
rmc = cv::IMREAD_COLOR; rmc = cv::IMREAD_COLOR;
} }
cv::Mat mat(cv::imdecode(*buf, rmc)); cv::Mat mat(cv::imdecode(*buf, rmc));
cv::imwrite("C:\\Users\\modehua\\Desktop\\image\\imdecode.jpg",mat); //cv::imwrite("C:\\Users\\modehua\\Desktop\\image\\imdecode.jpg",mat);
if (mat.empty()) if (mat.empty())
{ {
@ -525,7 +525,7 @@ namespace hg_imgproc
else if (pid == 0x100 || pid == 0x200 || pid == 0x139 || pid == 0x239 || pid_ == 0x439) else if (pid == 0x100 || pid == 0x200 || pid == 0x139 || pid == 0x239 || pid_ == 0x439)
{ {
Temp_mat.push_back(mat); Temp_mat.push_back(mat);
cv::imwrite("C:\\Users\\modehua\\Desktop\\image\\decode1.jpg",mat); //cv::imwrite("C:\\Users\\modehua\\Desktop\\image\\decode1.jpg",mat);
} }
else if (pid == 0x300 || pid == 0x400 || pid == 0x402 || pid == 0x302) else if (pid == 0x300 || pid == 0x400 || pid == 0x402 || pid == 0x302)
{ {