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