Skip navigation links
A B C D E F G I J L M N O P R S T U V W 

A

AdaptiveMap - Class in com.googlecode.leptonica.android
Image adaptive mapping methods.
AdaptiveMap() - Constructor for class com.googlecode.leptonica.android.AdaptiveMap
 
add(Pix, Box, int) - Method in class com.googlecode.leptonica.android.Pixa
Adds a Pix and associated Box to this Pixa.
addBox(Box, int) - Method in class com.googlecode.leptonica.android.Pixa
Adds a Box to this Pixa.
addPageToDocument(Pix, String, TessPdfRenderer) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Adds the given data to the opened document (if any).
addPix(Pix, int) - Method in class com.googlecode.leptonica.android.Pixa
Adds a Pix to this Pixa.

B

backgroundNormMorph(Pix) - Static method in class com.googlecode.leptonica.android.AdaptiveMap
Normalizes an image's background using default parameters.
backgroundNormMorph(Pix, int, int, int) - Static method in class com.googlecode.leptonica.android.AdaptiveMap
Normalizes an image's background to a specified value.
begin() - Method in class com.googlecode.tesseract.android.PageIterator
Resets the iterator to point to the start of the page.
beginDocument(TessPdfRenderer, String) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Starts a new document.
beginDocument(TessPdfRenderer) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Starts a new document with no title.
Binarize - Class in com.googlecode.leptonica.android
Image binarization methods.
Binarize() - Constructor for class com.googlecode.leptonica.android.Binarize
 
Box - Class in com.googlecode.leptonica.android
Wrapper for Leptonica's native BOX.
Box(int, int, int, int) - Constructor for class com.googlecode.leptonica.android.Box
Creates a box with the specified geometry.
Boxa - Class in com.googlecode.leptonica.android
Wrapper for Leptonica's native BOXA.
Boxa(long) - Constructor for class com.googlecode.leptonica.android.Boxa
Creates a new Box wrapper for the specified native BOX.

C

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.

D

DEFAULT_HEIGHT - Static variable in class com.googlecode.leptonica.android.MorphApp
 
DEFAULT_MIN_COUNT - Static variable in class com.googlecode.leptonica.android.AdaptiveMap
 
DEFAULT_PROGRESSIVE - Static variable in class com.googlecode.leptonica.android.JpegIO
Progressive encoding is disabled by default to increase compatibility.
DEFAULT_QUALITY - Static variable in class com.googlecode.leptonica.android.JpegIO
Default quality is 85%, which is reasonably good.
DEFAULT_TILE_HEIGHT - Static variable in class com.googlecode.leptonica.android.AdaptiveMap
 
DEFAULT_TILE_WIDTH - Static variable in class com.googlecode.leptonica.android.AdaptiveMap
 
DEFAULT_UNSHARP_FRACTION - Static variable in class com.googlecode.leptonica.android.Enhance
 
DEFAULT_UNSHARP_HALFWIDTH - Static variable in class com.googlecode.leptonica.android.Enhance
 
DEFAULT_WIDTH - Static variable in class com.googlecode.leptonica.android.MorphApp
 
DEFAULT_X_SMOOTH_SIZE - Static variable in class com.googlecode.leptonica.android.AdaptiveMap
 
DEFAULT_Y_SMOOTH_SIZE - Static variable in class com.googlecode.leptonica.android.AdaptiveMap
 
delete() - Method in class com.googlecode.tesseract.android.ResultIterator
Deletes the iterator after use

E

Edge - Class in com.googlecode.leptonica.android
Edge detection.
Edge() - Constructor for class com.googlecode.leptonica.android.Edge
 
Edge.EdgeOrientationFlag - Annotation Type in com.googlecode.leptonica.android
 
end() - Method in class com.googlecode.tesseract.android.TessBaseAPI
Closes down tesseract and free up all memory.
endDocument(TessPdfRenderer) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Finishes the document and finalizes the output data.
Enhance - Class in com.googlecode.leptonica.android
Image sharpening methods.
Enhance() - Constructor for class com.googlecode.leptonica.android.Enhance
 

F

finalize() - Method in class com.googlecode.leptonica.android.Box
 
finalize() - Method in class com.googlecode.leptonica.android.Boxa
 
finalize() - Method in class com.googlecode.leptonica.android.Pixa
 
findSkew(Pix) - Static method in class com.googlecode.leptonica.android.Skew
Finds and returns the skew angle using default parameters.
findSkew(Pix, float, float, int, int, float) - Static method in class com.googlecode.leptonica.android.Skew
Finds and returns the skew angle, doing first a sweep through a set of equal angles, and then doing a binary search until convergence.

G

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
 

I

IFF_BMP - Static variable in class com.googlecode.leptonica.android.Constants
 
IFF_DEFAULT - Static variable in class com.googlecode.leptonica.android.Constants
 
IFF_GIF - Static variable in class com.googlecode.leptonica.android.Constants
 
IFF_JFIF_JPEG - Static variable in class com.googlecode.leptonica.android.Constants
 
IFF_JP2 - Static variable in class com.googlecode.leptonica.android.Constants
 
IFF_PNG - Static variable in class com.googlecode.leptonica.android.Constants
 
IFF_PNM - Static variable in class com.googlecode.leptonica.android.Constants
 
IFF_PS - Static variable in class com.googlecode.leptonica.android.Constants
 
IFF_SPIX - Static variable in class com.googlecode.leptonica.android.Constants
 
IFF_TIFF - Static variable in class com.googlecode.leptonica.android.Constants
 
IFF_TIFF_G3 - Static variable in class com.googlecode.leptonica.android.Constants
 
IFF_TIFF_G4 - Static variable in class com.googlecode.leptonica.android.Constants
 
IFF_TIFF_LZW - Static variable in class com.googlecode.leptonica.android.Constants
 
IFF_TIFF_PACKBITS - Static variable in class com.googlecode.leptonica.android.Constants
 
IFF_TIFF_RLE - Static variable in class com.googlecode.leptonica.android.Constants
 
IFF_TIFF_ZIP - Static variable in class com.googlecode.leptonica.android.Constants
 
IFF_UNKNOWN - Static variable in class com.googlecode.leptonica.android.Constants
 
INDEX_D - Static variable in class com.googlecode.leptonica.android.Pix
Index of the image bit-depth within the dimensions array.
INDEX_H - Static variable in class com.googlecode.leptonica.android.Box
The index of the height within the geometry array.
INDEX_H - Static variable in class com.googlecode.leptonica.android.Pix
Index of the image height within the dimensions array.
INDEX_W - Static variable in class com.googlecode.leptonica.android.Box
The index of the width within the geometry array.
INDEX_W - Static variable in class com.googlecode.leptonica.android.Pix
Index of the image width within the dimensions array.
INDEX_X - Static variable in class com.googlecode.leptonica.android.Box
The index of the X coordinate within the geometry array.
INDEX_Y - Static variable in class com.googlecode.leptonica.android.Box
The index of the Y coordinate within the geometry array.
init(String, String) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Initializes the Tesseract engine with a specified language model.
init(String, String, int) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Initializes the Tesseract engine with the specified language model(s).
invert() - Method in class com.googlecode.leptonica.android.Pix
Inverts this Pix in-place.
isAtBeginningOf(int) - Method in class com.googlecode.tesseract.android.ResultIterator
Returns true if the iterator is at the start of an object at the given level.
isAtFinalElement(int, int) - Method in class com.googlecode.tesseract.android.ResultIterator
Returns whether the iterator is positioned at the last element in a given level.
iterator() - Method in class com.googlecode.leptonica.android.Pixa
 

J

join(Pixa) - Method in class com.googlecode.leptonica.android.Pixa
Merges the contents of another Pixa into this one.
JpegIO - Class in com.googlecode.leptonica.android
JPEG input and output methods.
JpegIO() - Constructor for class com.googlecode.leptonica.android.JpegIO
 

L

L_ALL_EDGES - Static variable in class com.googlecode.leptonica.android.Edge
Filters for all edges
L_CLONE - Static variable in class com.googlecode.leptonica.android.Constants
 
L_COPY - Static variable in class com.googlecode.leptonica.android.Constants
 
L_COPY_CLONE - Static variable in class com.googlecode.leptonica.android.Constants
 
L_HORIZONTAL_EDGES - Static variable in class com.googlecode.leptonica.android.Edge
Filters for horizontal edges
L_INSERT - Static variable in class com.googlecode.leptonica.android.Constants
 
L_SORT_BY_AREA - Static variable in class com.googlecode.leptonica.android.Constants
 
L_SORT_BY_ASPECT_RATIO - Static variable in class com.googlecode.leptonica.android.Constants
 
L_SORT_BY_HEIGHT - Static variable in class com.googlecode.leptonica.android.Constants
 
L_SORT_BY_MAX_DIMENSION - Static variable in class com.googlecode.leptonica.android.Constants
 
L_SORT_BY_MIN_DIMENSION - Static variable in class com.googlecode.leptonica.android.Constants
 
L_SORT_BY_PERIMETER - Static variable in class com.googlecode.leptonica.android.Constants
 
L_SORT_BY_WIDTH - Static variable in class com.googlecode.leptonica.android.Constants
 
L_SORT_BY_X - Static variable in class com.googlecode.leptonica.android.Constants
 
L_SORT_BY_Y - Static variable in class com.googlecode.leptonica.android.Constants
 
L_SORT_DECREASING - Static variable in class com.googlecode.leptonica.android.Constants
 
L_SORT_INCREASING - Static variable in class com.googlecode.leptonica.android.Constants
 
L_TOPHAT_BLACK - Static variable in class com.googlecode.leptonica.android.MorphApp
 
L_TOPHAT_WHITE - Static variable in class com.googlecode.leptonica.android.MorphApp
 
L_VERTICAL_EDGES - Static variable in class com.googlecode.leptonica.android.Edge
Filters for vertical edges

M

meanConfidence() - Method in class com.googlecode.tesseract.android.TessBaseAPI
Returns the (average) confidence value between 0 and 100.
mergeAndReplacePix(int, int) - Method in class com.googlecode.leptonica.android.Pixa
Merges the Pix at the specified indices and removes the Pix at the second index.
MorphApp - Class in com.googlecode.leptonica.android
Composite image processing operations.
MorphApp() - Constructor for class com.googlecode.leptonica.android.MorphApp
 
MorphApp.TophatType - Annotation Type in com.googlecode.leptonica.android
 

N

next(int) - Method in class com.googlecode.tesseract.android.PageIterator
Moves to the start of the next object at the given level in the page hierarchy, and returns false if the end of the page was reached.

O

OEM_CUBE_ONLY - Static variable in class com.googlecode.tesseract.android.TessBaseAPI
Deprecated.
OEM_DEFAULT - Static variable in class com.googlecode.tesseract.android.TessBaseAPI
Default OCR engine mode.
OEM_TESSERACT_CUBE_COMBINED - Static variable in class com.googlecode.tesseract.android.TessBaseAPI
Deprecated.
OEM_TESSERACT_ONLY - Static variable in class com.googlecode.tesseract.android.TessBaseAPI
Run Tesseract only - fastest
onProgressValues(int, int, int, int, int, int, int, int, int) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Called from native code to update progress of ongoing recognition passes.
onProgressValues(TessBaseAPI.ProgressValues) - Method in interface com.googlecode.tesseract.android.TessBaseAPI.ProgressNotifier
 
OTSU_SCORE_FRACTION - Static variable in class com.googlecode.leptonica.android.Binarize
Fraction of the max Otsu score, typically 0.1
OTSU_SIZE_X - Static variable in class com.googlecode.leptonica.android.Binarize
Desired tile X dimension; actual size may vary
OTSU_SIZE_Y - Static variable in class com.googlecode.leptonica.android.Binarize
Desired tile Y dimension; actual size may vary
OTSU_SMOOTH_X - Static variable in class com.googlecode.leptonica.android.Binarize
Desired X smoothing value
OTSU_SMOOTH_Y - Static variable in class com.googlecode.leptonica.android.Binarize
Desired Y smoothing value
otsuAdaptiveThreshold(Pix) - Static method in class com.googlecode.leptonica.android.Binarize
Performs locally-adaptive Otsu threshold binarization with default parameters.
otsuAdaptiveThreshold(Pix, int, int, int, int, float) - Static method in class com.googlecode.leptonica.android.Binarize
Performs locally-adaptive Otsu threshold binarization.

P

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.

R

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.

S

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
Cancel recognition started by TessBaseAPI.getHOCRText(int).
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.

T

TessBaseAPI - Class in com.googlecode.tesseract.android
Java interface for the Tesseract OCR engine.
TessBaseAPI() - Constructor for class com.googlecode.tesseract.android.TessBaseAPI
Constructs an instance of TessBaseAPI.
TessBaseAPI(TessBaseAPI.ProgressNotifier) - Constructor for class com.googlecode.tesseract.android.TessBaseAPI
Constructs an instance of TessBaseAPI with a callback method for receiving progress updates during OCR.
TessBaseAPI.OcrEngineMode - Annotation Type in com.googlecode.tesseract.android
 
TessBaseAPI.PageIteratorLevel - Class in com.googlecode.tesseract.android
Elements of the page hierarchy, used in ResultIterator to provide functions that operate on each level without having to have 5x as many functions.
TessBaseAPI.PageIteratorLevel.Level - Annotation Type in com.googlecode.tesseract.android
 
TessBaseAPI.PageSegMode - Class in com.googlecode.tesseract.android
Page segmentation mode.
TessBaseAPI.PageSegMode.Mode - Annotation Type in com.googlecode.tesseract.android
 
TessBaseAPI.ProgressNotifier - Interface in com.googlecode.tesseract.android
Interface that may be implemented by calling object in order to receive progress callbacks during OCR.
TessBaseAPI.ProgressValues - Class in com.googlecode.tesseract.android
Represents values indicating recognition progress and status.
TessPdfRenderer - Class in com.googlecode.tesseract.android
Java representation of a native Tesseract PDF renderer
TessPdfRenderer(TessBaseAPI, String) - Constructor for class com.googlecode.tesseract.android.TessPdfRenderer
Constructs an instance of a Tesseract PDF renderer.

U

unsharpMasking(Pix) - Static method in class com.googlecode.leptonica.android.Enhance
Performs unsharp masking (edge enhancement) using default values.
unsharpMasking(Pix, int, float) - Static method in class com.googlecode.leptonica.android.Enhance
Performs unsharp masking (edge enhancement).

V

valueOf(String) - Static method in enum com.googlecode.leptonica.android.Scale.ScaleType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.googlecode.leptonica.android.Scale.ScaleType
Returns an array containing the constants of this enum type, in the order they are declared.
VAR_CHAR_BLACKLIST - Static variable in class com.googlecode.tesseract.android.TessBaseAPI
Blacklist of characters to not recognize.
VAR_CHAR_WHITELIST - Static variable in class com.googlecode.tesseract.android.TessBaseAPI
Whitelist of characters to recognize.
VAR_FALSE - Static variable in class com.googlecode.tesseract.android.TessBaseAPI
String value used to assign a boolean variable to false.
VAR_SAVE_BLOB_CHOICES - Static variable in class com.googlecode.tesseract.android.TessBaseAPI
Save blob choices allowing us to get alternative results.
VAR_TRUE - Static variable in class com.googlecode.tesseract.android.TessBaseAPI
String value used to assign a boolean variable to true.

W

wordConfidences() - Method in class com.googlecode.tesseract.android.TessBaseAPI
Returns all word confidences (between 0 and 100) in an array.
writeBitmap(Pix) - Static method in class com.googlecode.leptonica.android.WriteFile
Writes a Pix to an Android Bitmap object.
writeBytes8(Pix) - Static method in class com.googlecode.leptonica.android.WriteFile
Write an 8bpp Pix to a flat byte array.
writeBytes8(Pix, byte[]) - Static method in class com.googlecode.leptonica.android.WriteFile
Write an 8bpp Pix to a flat byte array.
WriteFile - Class in com.googlecode.leptonica.android
 
WriteFile() - Constructor for class com.googlecode.leptonica.android.WriteFile
 
writeImpliedFormat(Pix, File) - Static method in class com.googlecode.leptonica.android.WriteFile
Writes a Pix to file using the file extension as the output format; supported formats are .bmp, .jpg, and .png.
writeToFileRandomCmap(File) - Method in class com.googlecode.leptonica.android.Pixa
Writes the components of this Pix to a bitmap-formatted file using a random color map.
A B C D E F G I J L M N O P R S T U V W 
Skip navigation links