We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1d99df commit d174c4fCopy full SHA for d174c4f
ccstruct/publictypes.h
@@ -179,6 +179,9 @@ enum PageSegMode {
179
inline bool PSM_OSD_ENABLED(int pageseg_mode) {
180
return pageseg_mode <= PSM_AUTO_OSD || pageseg_mode == PSM_SPARSE_TEXT_OSD;
181
}
182
+inline bool PSM_ORIENTATION_ENABLED(int pageseg_mode) {
183
+ return pageseg_mode <= PSM_AUTO || pageseg_mode == PSM_SPARSE_TEXT_OSD;
184
+}
185
inline bool PSM_COL_FIND_ENABLED(int pageseg_mode) {
186
return pageseg_mode >= PSM_AUTO_OSD && pageseg_mode <= PSM_AUTO;
187
0 commit comments