diff --git a/tess-two/src/com/googlecode/tesseract/android/TessBaseAPI.java b/tess-two/src/com/googlecode/tesseract/android/TessBaseAPI.java index 33846c6df..da9c37797 100644 --- a/tess-two/src/com/googlecode/tesseract/android/TessBaseAPI.java +++ b/tess-two/src/com/googlecode/tesseract/android/TessBaseAPI.java @@ -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. */