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;