修复乱码

This commit is contained in:
gb 2022-08-12 14:13:17 +08:00
parent b90d9f629d
commit 609e5f8da2
1 changed files with 17 additions and 17 deletions

View File

@ -1,14 +1,14 @@
/*
* ====================================================
*
*
* 2020/4/21
* v1.0 2020/04/21
v1.1 2020/08/12 稿BUG
v1.2 2021/10/15 稿
v1.2.1 2022/04/25
* v1.2.1
*
*
* 2020/4/21
* v1.0 2020/04/21
v1.1 2020/08/12 稿BUG
v1.2 2021/10/15 稿
v1.2.1 2022/04/25
* v1.2.1
* ====================================================
*/
@ -31,21 +31,21 @@ class GIMGPROC_LIBRARY_API CImageApplyRotation : public CImageApply
public:
enum class RotationType
{
Invalid, //无效
Rotate_90_clockwise, //顺时针90°
Rotate_180, //180°
Rotate_90_anti_clockwise, //逆时针90°即270°
Invalid, //无效
Rotate_90_clockwise, //顺时针90°
Rotate_180, //180°
Rotate_90_anti_clockwise, //逆时针90°即270°
AutoTextOrientation //自动文稿方向识别旋转
AutoTextOrientation //自动文稿方向识别旋转
};
public:
/*
* rotation [in]:
* isBackTransposed [in]:true为背面180°
* dpi [in]:DPIrotation为AutoTextOrientation时生效稿200DPI进行识别
* tessadataPath [in]:rotation为AutoTextOrientation时生效
* rotation [in]:
* isBackTransposed [in]:true为背面180°
* dpi [in]:DPIrotation为AutoTextOrientation时生效稿200DPI进行识别
* tessadataPath [in]:rotation为AutoTextOrientation时生效
*/
CImageApplyRotation(RotationType rotation, bool isBackTransposed = false, int dpi = 200, const char* tessdataPath = nullptr);