Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

Commit

Permalink
Merge pull request #209 from Robyer/fixPageSegMode
Browse files Browse the repository at this point in the history
Add missing PageSegMode constant
  • Loading branch information
rmtheis authored May 16, 2017
2 parents aa4933b + 65a5987 commit cc75026
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ public static final class PageSegMode {
/** Sparse text with orientation and script detection. */
public static final int PSM_SPARSE_TEXT_OSD = 12;

/** Number of enum entries. */
public static final int PSM_COUNT = 13;
/** Treat the image as a single text line, bypassing hacks that are Tesseract-specific. */
public static final int PSM_RAW_LINE = 13;
}

/** Whitelist of characters to recognize. */
Expand Down

0 comments on commit cc75026

Please sign in to comment.