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

Commit

Permalink
Add missing PSM_RAW_LINE mode
Browse files Browse the repository at this point in the history
It was added in Tesseract v3.04
  • Loading branch information
Robyer committed May 15, 2017
1 parent aa4933b commit 4c75483
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,11 @@ public static final class PageSegMode {
/** Sparse text with orientation and script detection. */
public static final int PSM_SPARSE_TEXT_OSD = 12;

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

/** Number of enum entries. */
public static final int PSM_COUNT = 13;
public static final int PSM_COUNT = 14;
}

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

0 comments on commit 4c75483

Please sign in to comment.