- 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.
- Clip - Class in com.googlecode.leptonica.android
-
Extract rectangular regions.
- Clip() - Constructor for class com.googlecode.leptonica.android.Clip
-
- clipRectangle(Pix, Box) - Static method in class com.googlecode.leptonica.android.Clip
-
Extract a region from a Pix.
- 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
-
- Constants.SortBy - Annotation Type in com.googlecode.leptonica.android
-
- Constants.SortOrder - Annotation Type in com.googlecode.leptonica.android
-
- Constants.StorageFlag - Annotation Type in com.googlecode.leptonica.android
-
- 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
- getBoundingRect(int) - Method in class com.googlecode.tesseract.android.PageIterator
-
Get a bounding box as an Android Rect.
- 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.
- getConnectedComponents() - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Gets the individual connected (text) components (created after pages
segmentation step, but before recognition) as a Pixa, in reading order.
- getCount() - Method in class com.googlecode.leptonica.android.Boxa
-
- getCurrentRect() - Method in class com.googlecode.tesseract.android.TessBaseAPI.ProgressValues
-
Return the bounds of the current recognition region.
- getCurrentWordRect() - Method in class com.googlecode.tesseract.android.TessBaseAPI.ProgressValues
-
Return the bounds of the word currently being recognized.
- 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.
- getGeometry(int) - Method in class com.googlecode.leptonica.android.Boxa
-
Returns an array containing the coordinates of this box.
- getGeometry(int, int[]) - Method in class com.googlecode.leptonica.android.Boxa
-
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.
- getNativeBox() - Method in class com.googlecode.leptonica.android.Box
-
Returns a pointer to the native Box object.
- getNativeBoxa() - Method in class com.googlecode.leptonica.android.Boxa
-
Returns a pointer to the native Boxa object.
- getNativePdfRenderer() - Method in class com.googlecode.tesseract.android.TessPdfRenderer
-
- 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.
- getPageSegMode() - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Return the current page segmentation mode.
- getPercent() - Method in class com.googlecode.tesseract.android.TessBaseAPI.ProgressValues
-
Return word recognition progress.
- 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.Box
-
Returns an
Rect
containing the coordinates
of this box.
- getRect(int) - Method in class com.googlecode.leptonica.android.Boxa
-
Returns an
Rect
containing the coordinates
of this box.
- 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.
- getRefCount() - Method in class com.googlecode.leptonica.android.Pix
-
- 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
-
Get a reading-order iterator to the results of LayoutAnalysis and/or
Recognize.
- getStrips() - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Get textlines and strips of image regions as a Pixa, in reading order.
- getSymbolChoicesAndConfidence() - Method in class com.googlecode.tesseract.android.ResultIterator
-
Returns all possible matching text strings and their confidence level
for the current object.
- getTextlines() - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Returns the textlines as a Pixa.
- getThresholdedImage() - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Get a copy of the internal thresholded image from Tesseract.
- 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.
- getVersion() - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
Returns the version identifier as a string.
- 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
-
Get the words 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.
- GrayQuant - Class in com.googlecode.leptonica.android
-
- GrayQuant() - Constructor for class com.googlecode.leptonica.android.GrayQuant
-
- PageIterator - Class in com.googlecode.tesseract.android
-
- PageIteratorLevel() - Constructor for class com.googlecode.tesseract.android.TessBaseAPI.PageIteratorLevel
-
- PageSegMode() - Constructor for class com.googlecode.tesseract.android.TessBaseAPI.PageSegMode
-
- Pix - Class in com.googlecode.leptonica.android
-
Java representation of a native Leptonica PIX object.
- Pix(long) - 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(long, int, int) - Constructor for class com.googlecode.leptonica.android.Pixa
-
Creates a wrapper for the specified native Pixa pointer.
- pixContrastNorm(Pix) - Static method in class com.googlecode.leptonica.android.AdaptiveMap
-
Adaptively attempts to expand the contrast to the full dynamic range in
each tile using default parameters.
- pixContrastNorm(Pix, int, int, int, int, int) - Static method in class com.googlecode.leptonica.android.AdaptiveMap
-
Adaptively attempts to expand the contrast to the full dynamic range in
each tile.
- pixFastTophat(Pix, int, int, int) - Static method in class com.googlecode.leptonica.android.MorphApp
-
Performs a tophat-like operation.
- pixFastTophatBlack(Pix) - Static method in class com.googlecode.leptonica.android.MorphApp
-
Performs a tophat-like operation emphasizing small dark regions using
default values.
- pixFastTophatWhite(Pix) - Static method in class com.googlecode.leptonica.android.MorphApp
-
Performs a tophat-like operation emphasizing small bright regions using
default values.
- pixSobelEdgeFilter(Pix, int) - Static method in class com.googlecode.leptonica.android.Edge
-
Performs a Sobel edge detecting filter.
- pixThresholdToBinary(Pix, int) - Static method in class com.googlecode.leptonica.android.GrayQuant
-
Perform simple (pixelwise) binarization with fixed threshold
- pixTophat(Pix, int, int, int) - Static method in class com.googlecode.leptonica.android.MorphApp
-
Performs a tophat transform.
- ProgressValues(int, Rect, Rect) - Constructor for class com.googlecode.tesseract.android.TessBaseAPI.ProgressValues
-
- 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_OSD_ONLY - Static variable in class com.googlecode.tesseract.android.TessBaseAPI.PageSegMode
-
Orientation and script detection only.
- PSM_RAW_LINE - Static variable in class com.googlecode.tesseract.android.TessBaseAPI.PageSegMode
-
Treat the image as a single text line, bypassing hacks that are Tesseract-specific.
- 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.
- 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.Boxa
-
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
-
Releases resources and frees any memory associated with this
TessPdfRenderer object.
- 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.
- rotateOrth(Pix, int) - Static method in class com.googlecode.leptonica.android.Rotate
-
Performs top-level rotation by multiples of 90 degrees.
- SAUVOLA_DEFAULT_NUM_TILES_X - Static variable in class com.googlecode.leptonica.android.Binarize
-
- SAUVOLA_DEFAULT_NUM_TILES_Y - Static variable in class com.googlecode.leptonica.android.Binarize
-
- SAUVOLA_DEFAULT_REDUCTION_FACTOR - Static variable in class com.googlecode.leptonica.android.Binarize
-
- SAUVOLA_DEFAULT_WINDOW_HALFWIDTH - Static variable in class com.googlecode.leptonica.android.Binarize
-
- sauvolaBinarizeTiled(Pix) - Static method in class com.googlecode.leptonica.android.Binarize
-
Performs Sauvola binarization using default values.
- 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.).
- scaleWithoutSharpening(Pix, float) - Static method in class com.googlecode.leptonica.android.Scale
-
Scales the Pix to the specified scale without sharpening.
- 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 bonus 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 "parameter."
- 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.
- stop() - Method in class com.googlecode.tesseract.android.TessBaseAPI
-
- 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.