Skip to content

Commit

Permalink
Fixed occurrence of small rotated blocks in loosely spaced text part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
theraysmith committed Jun 12, 2015
1 parent b1d99df commit d174c4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ccstruct/publictypes.h
Expand Up @@ -179,6 +179,9 @@ enum PageSegMode {
inline bool PSM_OSD_ENABLED(int pageseg_mode) {
return pageseg_mode <= PSM_AUTO_OSD || pageseg_mode == PSM_SPARSE_TEXT_OSD;
}
inline bool PSM_ORIENTATION_ENABLED(int pageseg_mode) {
return pageseg_mode <= PSM_AUTO || pageseg_mode == PSM_SPARSE_TEXT_OSD;
}
inline bool PSM_COL_FIND_ENABLED(int pageseg_mode) {
return pageseg_mode >= PSM_AUTO_OSD && pageseg_mode <= PSM_AUTO;
}
Expand Down

0 comments on commit d174c4f

Please sign in to comment.