From a9a8c31237ff05bfe16cf45bc27a1070d129e28b Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Tue, 1 Aug 2023 15:56:38 +0800 Subject: [PATCH] =?UTF-8?q?300=E8=AE=BE=E5=A4=87=E6=8C=89=E7=85=A7?= =?UTF-8?q?=E5=85=B6=E4=BB=96=E8=AE=BE=E5=A4=87=E4=B8=80=E6=A0=B7=E6=97=8B?= =?UTF-8?q?=E8=BD=AC=E6=8B=86=E5=88=86=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hgdriver/hgdev/image_process.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hgdriver/hgdev/image_process.cpp b/hgdriver/hgdev/image_process.cpp index 7cdd44f..10f44c6 100644 --- a/hgdriver/hgdev/image_process.cpp +++ b/hgdriver/hgdev/image_process.cpp @@ -1,4 +1,4 @@ -#include "image_process.h" +#include "image_process.h" #include "../wrapper/hg_log.h" #include #include @@ -611,7 +611,7 @@ namespace hg_imgproc { cv::flip(matex.mat, matex.mat, rotation01_); cv::flip(matex.mat,matex.mat,rotation02_); - if (i > 1 && (pid_ == 0x402 || pid_ == 0x100 || pid_ == 0x400 || pid_== 0x302)) + if (i > 1 && (pid_ == 0x402 || pid_ == 0x100 || pid_ == 0x400 || pid_== 0x302 || pid_ == 0x300)) { cv::flip(matex.mat,matex.mat,-1); } @@ -621,7 +621,7 @@ namespace hg_imgproc } CImageApplyRotation::RotationType rotatetype = CImageApplyRotation::RotationType::Invalid; - if (pid_ == 0x402 || pid_ == 0x400 || pid_ == 0x239 || pid_ == 0x439 || pid_ == 0x302) + if (pid_ == 0x402 || pid_ == 0x400 || pid_ == 0x239 || pid_ == 0x439 || pid_ == 0x302 || pid_ == 0x300) rotatetype = CImageApplyRotation::RotationType::Rotate_90_clockwise; else if(pid_ == 0x100) rotatetype = CImageApplyRotation::RotationType::Rotate_90_anti_clockwise;