- clear() - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Frees up recognition results and any stored image data, without actually
freeing any recognition data that would be time-consuming to reload.
- clone() - Method in class com.googlecode.leptonica.android.Pix
-
Returns a clone of this Pix.
- com.googlecode.leptonica.android - package com.googlecode.leptonica.android
-
- com.googlecode.tesseract.android - package com.googlecode.tesseract.android
-
- compressToJpeg(Pix) - Static method in class com.googlecode.leptonica.android.JpegIO
-
Returns a compressed JPEG byte representation of this Pix using default
parameters.
- compressToJpeg(Pix, int, boolean) - Static method in class com.googlecode.leptonica.android.JpegIO
-
Returns a compressed JPEG byte representation of this Pix.
- confidence(int) - Method in class com.googlecode.tesseract.android.ResultIterator
-
Returns the mean confidence of the current object at the given level.
- Constants - Class in com.googlecode.leptonica.android
-
Leptonica constants.
- Constants() - Constructor for class com.googlecode.leptonica.android.Constants
-
- Convert - Class in com.googlecode.leptonica.android
-
Image bit-depth conversion methods.
- Convert() - Constructor for class com.googlecode.leptonica.android.Convert
-
- convertTo8(Pix) - Static method in class com.googlecode.leptonica.android.Convert
-
Converts an image of any bit depth to 8-bit grayscale.
- copy() - Method in class com.googlecode.leptonica.android.Pix
-
Returns a deep copy of this Pix that can be modified without affecting
the original Pix.
- copy() - Method in class com.googlecode.leptonica.android.Pixa
-
Creates a shallow copy of this Pixa.
- createFromPix(byte[], int, int, int) - Static method in class com.googlecode.leptonica.android.Pix
-
Creates a new Pix from raw Pix data obtained from getData().
- createPixa(int) - Static method in class com.googlecode.leptonica.android.Pixa
-
Creates a new Pixa with the specified minimum capacity.
- createPixa(int, int, int) - Static method in class com.googlecode.leptonica.android.Pixa
-
Creates a new Pixa with the specified minimum capacity.
- getBoundingBox(int) - Method in class com.googlecode.tesseract.android.PageIterator
-
Get bounding box: x, y, w, h
============= Accessing data ==============.
- getBox(int) - Method in class com.googlecode.leptonica.android.Pixa
-
Returns the Box at the specified index, or null on error.
- getBoxGeometry(int) - Method in class com.googlecode.leptonica.android.Pixa
-
Returns a geometry array for the Box at the specified index.
- getBoxGeometry(int, int[]) - Method in class com.googlecode.leptonica.android.Pixa
-
Fills an array with the geometry of the Box at the specified index.
- getBoxRect(int) - Method in class com.googlecode.leptonica.android.Pixa
-
Returns a bounding Rect for the Box at the specified index.
- getBoxRects() - Method in class com.googlecode.leptonica.android.Pixa
-
Returns an ArrayList of Box bounding Rects.
- getBoxText(int) - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
The recognized text is returned as coded in the same format as a UTF8
box file used in training.
- getData() - Method in class com.googlecode.leptonica.android.Pix
-
Return the raw bytes of the native PIX object.
- getDepth() - Method in class com.googlecode.leptonica.android.Pix
-
Returns the depth of this Pix.
- getDimensions() - Method in class com.googlecode.leptonica.android.Pix
-
Returns an array of this image's dimensions.
- getDimensions(int[]) - Method in class com.googlecode.leptonica.android.Pix
-
Fills an array with this image's dimensions.
- getGeometry() - Method in class com.googlecode.leptonica.android.Box
-
Returns an array containing the coordinates of this box.
- getGeometry(int[]) - Method in class com.googlecode.leptonica.android.Box
-
Fills an array containing the coordinates of this box.
- getHeight() - Method in class com.googlecode.leptonica.android.Box
-
Returns the box's height in pixels.
- getHeight() - Method in class com.googlecode.leptonica.android.Pix
-
Returns the height of this Pix.
- getHeight() - Method in class com.googlecode.leptonica.android.Pixa
-
Returns the height of this Pixa, or 0 if one was not set when it was
created.
- getHOCRText(int) - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Make a HTML-formatted string with hOCR markup from the internal data
structures.
- getInitLanguagesAsString() - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Returns the languages string used in the last valid initialization.
- getNativePix() - Method in class com.googlecode.leptonica.android.Pix
-
Returns a pointer to the native Pix object.
- getNativePixa() - Method in class com.googlecode.leptonica.android.Pixa
-
Returns a pointer to the native PIXA object.
- getPix(int) - Method in class com.googlecode.leptonica.android.Pixa
-
Returns the Pix at the specified index, or null on error.
- getPixel(int, int) - Method in class com.googlecode.leptonica.android.Pix
-
Returns the Color at the specified location.
- getRect() - Method in class com.googlecode.leptonica.android.Pix
-
Returns a Rect with the width and height of this Pix.
- getRect() - Method in class com.googlecode.leptonica.android.Pixa
-
Returns a bounding Rect for this Pixa, which may be (0,0,0,0) if width
and height were not specified on creation.
- getRegions() - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Returns the result of page layout analysis as a Pixa, in reading order.
- getResultIterator() - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
- getStrips() - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Returns the strips as a Pixa.
- getTextlines() - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Returns the textlines as a Pixa.
- getUTF8Text(int) - Method in class com.googlecode.tesseract.android.ResultIterator
-
Returns the text string for the current object at the given level.
- getUTF8Text() - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
The recognized text is returned as a String which is coded as UTF8.
- getWidth() - Method in class com.googlecode.leptonica.android.Box
-
Returns the box's width in pixels.
- getWidth() - Method in class com.googlecode.leptonica.android.Pix
-
Returns the width of this Pix.
- getWidth() - Method in class com.googlecode.leptonica.android.Pixa
-
Returns the width of this Pixa, or 0 if one was not set when it was
created.
- getWords() - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Returns the word bounding boxes as a Pixa, in reading order.
- getX() - Method in class com.googlecode.leptonica.android.Box
-
Returns the box's x-coordinate in pixels.
- getY() - Method in class com.googlecode.leptonica.android.Box
-
Returns the box's y-coordinate in pixels.
- PageIterator - Class in com.googlecode.tesseract.android
-
- Pix - Class in com.googlecode.leptonica.android
-
Java representation of a native Leptonica PIX object.
- Pix(int) - Constructor for class com.googlecode.leptonica.android.Pix
-
Creates a new Pix wrapper for the specified native PIX object.
- Pix(int, int, int) - Constructor for class com.googlecode.leptonica.android.Pix
-
- Pixa - Class in com.googlecode.leptonica.android
-
Java representation of a native PIXA object.
- Pixa(int, int, int) - Constructor for class com.googlecode.leptonica.android.Pixa
-
Creates a wrapper for the specified native Pixa pointer.
- PSM_AUTO - Static variable in class com.googlecode.tesseract.android.TessBaseAPI.PageSegMode
-
Fully automatic page segmentation, but no OSD.
- PSM_AUTO_ONLY - Static variable in class com.googlecode.tesseract.android.TessBaseAPI.PageSegMode
-
Fully automatic page segmentation, but no OSD, or OCR.
- PSM_AUTO_OSD - Static variable in class com.googlecode.tesseract.android.TessBaseAPI.PageSegMode
-
Automatic page segmentation with orientation and script detection.
- PSM_CIRCLE_WORD - Static variable in class com.googlecode.tesseract.android.TessBaseAPI.PageSegMode
-
Treat the image as a single word in a circle.
- PSM_COUNT - Static variable in class com.googlecode.tesseract.android.TessBaseAPI.PageSegMode
-
Number of enum entries.
- PSM_OSD_ONLY - Static variable in class com.googlecode.tesseract.android.TessBaseAPI.PageSegMode
-
Orientation and script detection only.
- PSM_SINGLE_BLOCK - Static variable in class com.googlecode.tesseract.android.TessBaseAPI.PageSegMode
-
Assume a single uniform block of text.
- PSM_SINGLE_BLOCK_VERT_TEXT - Static variable in class com.googlecode.tesseract.android.TessBaseAPI.PageSegMode
-
Assume a single uniform block of vertically aligned text.
- PSM_SINGLE_CHAR - Static variable in class com.googlecode.tesseract.android.TessBaseAPI.PageSegMode
-
Treat the image as a single character.
- PSM_SINGLE_COLUMN - Static variable in class com.googlecode.tesseract.android.TessBaseAPI.PageSegMode
-
Assume a single column of text of variable sizes.
- PSM_SINGLE_LINE - Static variable in class com.googlecode.tesseract.android.TessBaseAPI.PageSegMode
-
Treat the image as a single text line.
- PSM_SINGLE_WORD - Static variable in class com.googlecode.tesseract.android.TessBaseAPI.PageSegMode
-
Treat the image as a single word.
- PSM_SPARSE_TEXT - Static variable in class com.googlecode.tesseract.android.TessBaseAPI.PageSegMode
-
Find as much text as possible in no particular order.
- PSM_SPARSE_TEXT_OSD - Static variable in class com.googlecode.tesseract.android.TessBaseAPI.PageSegMode
-
Sparse text with orientation and script detection.
- readBitmap(Bitmap) - Static method in class com.googlecode.leptonica.android.ReadFile
-
Creates a Pix object from Bitmap data.
- readBytes8(byte[], int, int) - Static method in class com.googlecode.leptonica.android.ReadFile
-
Creates an 8bpp Pix object from raw 8bpp grayscale pixels.
- ReadConfigFile(String) - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Read a "config" file containing a set of variable, value pairs.
- ReadFile - Class in com.googlecode.leptonica.android
-
Image input and output methods.
- ReadFile() - Constructor for class com.googlecode.leptonica.android.ReadFile
-
- readFile(File) - Static method in class com.googlecode.leptonica.android.ReadFile
-
Creates a Pix object from encoded file data.
- readFiles(File, String) - Static method in class com.googlecode.leptonica.android.ReadFile
-
Creates a Pixa object from encoded files in a directory.
- readMem(byte[]) - Static method in class com.googlecode.leptonica.android.ReadFile
-
Creates a 32bpp Pix object from encoded data.
- recycle() - Method in class com.googlecode.leptonica.android.Box
-
Releases resources and frees any memory associated with this Box.
- recycle() - Method in class com.googlecode.leptonica.android.Pix
-
Releases resources and frees any memory associated with this Pix.
- recycle() - Method in class com.googlecode.leptonica.android.Pixa
-
Recycles this Pixa and frees natively allocated memory.
- recycle() - Method in class com.googlecode.tesseract.android.TessPdfRenderer
-
Frees native resources
- replaceBytes8(Pix, byte[], int, int) - Static method in class com.googlecode.leptonica.android.ReadFile
-
Replaces the bytes in an 8bpp Pix object with raw grayscale 8bpp pixels.
- replacePix(int, Pix, Box) - Method in class com.googlecode.leptonica.android.Pixa
-
Replaces the Pix and Box at the specified index with the specified Pix
and Box, both of which may be recycled after calling this method.
- ResultIterator - Class in com.googlecode.tesseract.android
-
Java interface for the ResultIterator.
- RIL_BLOCK - Static variable in class com.googlecode.tesseract.android.TessBaseAPI.PageIteratorLevel
-
Block of text/image/separator line.
- RIL_PARA - Static variable in class com.googlecode.tesseract.android.TessBaseAPI.PageIteratorLevel
-
Paragraph within a block.
- RIL_SYMBOL - Static variable in class com.googlecode.tesseract.android.TessBaseAPI.PageIteratorLevel
-
Symbol/character within a word.
- RIL_TEXTLINE - Static variable in class com.googlecode.tesseract.android.TessBaseAPI.PageIteratorLevel
-
Line within a paragraph.
- RIL_WORD - Static variable in class com.googlecode.tesseract.android.TessBaseAPI.PageIteratorLevel
-
Word within a text line.
- Rotate - Class in com.googlecode.leptonica.android
-
- Rotate() - Constructor for class com.googlecode.leptonica.android.Rotate
-
- rotate(Pix, float) - Static method in class com.googlecode.leptonica.android.Rotate
-
Performs rotation using the default parameters.
- rotate(Pix, float, boolean) - Static method in class com.googlecode.leptonica.android.Rotate
-
Performs rotation with resizing using the default parameters.
- rotate(Pix, float, boolean, boolean) - Static method in class com.googlecode.leptonica.android.Rotate
-
Performs basic image rotation about the center.
- ROTATE_QUALITY - Static variable in class com.googlecode.leptonica.android.Rotate
-
Default rotation quality is high.
- sauvolaBinarizeTiled(Pix, int, float, int, int) - Static method in class com.googlecode.leptonica.android.Binarize
-
Performs Sauvola binarization.
- Scale - Class in com.googlecode.leptonica.android
-
Image scaling methods.
- Scale() - Constructor for class com.googlecode.leptonica.android.Scale
-
- scale(Pix, float) - Static method in class com.googlecode.leptonica.android.Scale
-
Scales the Pix to specified scale.
- scale(Pix, float, float) - Static method in class com.googlecode.leptonica.android.Scale
-
Scales the Pix to specified x and y scale.
- Scale.ScaleType - Enum in com.googlecode.leptonica.android
-
- scaleToSize(Pix, int, int, Scale.ScaleType) - Static method in class com.googlecode.leptonica.android.Scale
-
Scales the Pix to a specified width and height using a specified scaling
type (fill, stretch, etc.).
- SEARCH_MIN_DELTA - Static variable in class com.googlecode.leptonica.android.Skew
-
Default search minimum delta, reasonably accurate within 0.05 degrees.
- SEARCH_REDUCTION - Static variable in class com.googlecode.leptonica.android.Skew
-
Default sweep reduction, one-fourth the size of the original image.
- setDebug(boolean) - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Sets debug mode.
- setImage(File) - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Provides an image for Tesseract to recognize.
- setImage(Bitmap) - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Provides an image for Tesseract to recognize.
- setImage(Pix) - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Provides a Leptonica pix format image for Tesseract to recognize.
- setImage(byte[], int, int, int, int) - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Provides an image for Tesseract to recognize.
- setInputName(String) - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Set the name of the input file.
- setOutputName(String) - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Set the name of the output files.
- setPageSegMode(int) - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Sets the page segmentation mode.
- setPixel(int, int, int) - Method in class com.googlecode.leptonica.android.Pix
-
Sets the Color at the specified location.
- setRectangle(Rect) - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Restricts recognition to a sub-rectangle of the image.
- setRectangle(int, int, int, int) - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Restricts recognition to a sub-rectangle of the image.
- setVariable(String, String) - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Set the value of an internal "variable" (of either old or new types).
- size() - Method in class com.googlecode.leptonica.android.Pixa
-
Returns the number of elements in this Pixa.
- Skew - Class in com.googlecode.leptonica.android
-
Image rotation and skew detection methods.
- Skew() - Constructor for class com.googlecode.leptonica.android.Skew
-
- sort(int, int) - Method in class com.googlecode.leptonica.android.Pixa
-
Sorts this Pixa using the specified field and order.
- SWEEP_DELTA - Static variable in class com.googlecode.leptonica.android.Skew
-
Default sweep delta, reasonably accurate within 0.05 degrees.
- SWEEP_RANGE - Static variable in class com.googlecode.leptonica.android.Skew
-
Default range for sweep, will detect rotation of + or - 30 degrees.
- SWEEP_REDUCTION - Static variable in class com.googlecode.leptonica.android.Skew
-
Default sweep reduction, one-eighth the size of the original image.