Skip navigation links
A B C D E F G H 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.
add(pix, box, mode) - Method in class com.googlecode.leptonica.android.Pixa
Adds a Pix and associated Box to this Pixa.
addBox(box, mode) - Method in class com.googlecode.leptonica.android.Pixa
Adds a Box to this Pixa.
addPageToDocument(imageToProcess, imageToWrite, tessPdfRenderer) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Adds the given data to the opened document (if any).
addPix(pix, mode) - Method in class com.googlecode.leptonica.android.Pixa
Adds a Pix to this Pixa.

B

backgroundNormMorph(pixs) - Static method in class com.googlecode.leptonica.android.AdaptiveMap
Normalizes an image's background using default parameters.
backgroundNormMorph(pixs, normReduction, normSize, normBgValue) - 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, title) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Starts a new document. This clears the contents of the output data. Caller is responsible for escaping the provided title.
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.
binarizeBitmap(bitmap, recycle) - Method in interface io.scanbot.sdk.ocr.intelligence.OcrPdfRenderer.BitmapBinarizer
Applies binarization filter to Bitmap. Old bitmap is recycled if stated.
binarizeImage(binarizeImage) - Method in class io.scanbot.sdk.ocr.intelligence.OcrSettings.Builder
Sets if class OcrPdfRenderer should pre-binarize image
blockType - Variable in class io.scanbot.sdk.ocr.process.OcrResultBlock
The type of the block.
boundingBox - Variable in class io.scanbot.sdk.ocr.process.OcrResultBlock
The bounding box of the receiver in normalized unit coordinate space Left,
boundingBoxWithImageSize - Variable in class io.scanbot.sdk.ocr.process.OcrResultBlock
The bounding box of the receiver in absolute image coordinate system.
Box - Class in com.googlecode.leptonica.android
Wrapper for Leptonica's native BOX.
Box(x, y, w, h) - Constructor for class com.googlecode.leptonica.android.Box
Creates a box with the specified geometry. All dimensions should be non-negative and specified in pixels.
Boxa - Class in com.googlecode.leptonica.android
Wrapper for Leptonica's native BOXA.
Boxa(nativeBoxa) - Constructor for class com.googlecode.leptonica.android.Boxa
Creates a new Box wrapper for the specified native BOX.
build() - Method in class io.scanbot.sdk.ocr.intelligence.OcrSettings.Builder
Builds class OcrSettings object
Builder() - Constructor for class io.scanbot.sdk.ocr.intelligence.OcrSettings.Builder
 

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. Afterwards, you must call SetImage or SetRectangle before doing any Recognize or Get* operation.
Clip - Class in com.googlecode.leptonica.android
Extract rectangular regions.
clipRectangle(source, 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. This does NOT create a separate copy, just a new pointer that can be recycled without affecting other clones.
com.googlecode.leptonica.android - package com.googlecode.leptonica.android
 
com.googlecode.tesseract.android - package com.googlecode.tesseract.android
 
Companion - Static variable in class io.scanbot.sdk.ocr.intelligence.OcrPdfRenderer
Deprecated. 
component1() - Method in class io.scanbot.sdk.ocr.intelligence.OcrBitmapInput
 
component1() - Method in class io.scanbot.sdk.ocr.intelligence.OcrPagesInput
 
component1() - Method in class io.scanbot.sdk.ocr.intelligence.OcrUrisInput
 
component1() - Method in class io.scanbot.sdk.ocr.process.OcrResult
Optional sandwiched pdf
component1() - Method in class io.scanbot.sdk.ocr.process.OcrResult.OCRPage
Recognized text as a
component1() - Method in class io.scanbot.sdk.ocr.process.OcrResultBlock
The recognized text within the receivers bounding box.
component2() - Method in class io.scanbot.sdk.ocr.intelligence.OcrUrisInput
 
component2() - Method in class io.scanbot.sdk.ocr.process.OcrResult
Optional sandwiched pdf
component2() - Method in class io.scanbot.sdk.ocr.process.OcrResult.OCRPage
The
component2() - Method in class io.scanbot.sdk.ocr.process.OcrResultBlock
The bounding box of the receiver in normalized unit coordinate space Left,
component3() - Method in class io.scanbot.sdk.ocr.process.OcrResult
List of pages with OCR data
component3() - Method in class io.scanbot.sdk.ocr.process.OcrResult.OCRPage
The
component3() - Method in class io.scanbot.sdk.ocr.process.OcrResultBlock
The bounding box of the receiver in absolute image coordinate system.
component4() - Method in class io.scanbot.sdk.ocr.process.OcrResult.OCRPage
The
component4() - Method in class io.scanbot.sdk.ocr.process.OcrResultBlock
The confidence value describes how confident the OCR engine was when detecting the letters and words.
component5() - Method in class io.scanbot.sdk.ocr.process.OcrResultBlock
The type of the block.
composeDocument(document, input, config) - Method in class io.scanbot.sdk.ocr.process.compose.OcrComposer
 
compressToJpeg(pixs) - Static method in class com.googlecode.leptonica.android.JpegIO
Returns a compressed JPEG byte representation of this Pix using default parameters.
compressToJpeg(pixs, quality, progressive) - Static method in class com.googlecode.leptonica.android.JpegIO
Returns a compressed JPEG byte representation of this Pix.
confidence(level) - Method in class com.googlecode.tesseract.android.ResultIterator
Returns the mean confidence of the current object at the given level. The number should be interpreted as a percent probability (0-100).
confidenceValue - Variable in class io.scanbot.sdk.ocr.process.OcrResultBlock
The confidence value describes how confident the OCR engine was when detecting the letters and words.
Constants - Class in com.googlecode.leptonica.android
Leptonica 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.
convertTo8(pixs) - 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. Contained Pix are cloned, and the resulting Pixa may be recycled separately from the original.
copy(bitmap) - Method in class io.scanbot.sdk.ocr.intelligence.OcrBitmapInput
Allows to set OCR input as a bitmap
copy(pages) - Method in class io.scanbot.sdk.ocr.intelligence.OcrPagesInput
Allows to set OCR input as a list of pages
copy(uris, encryptedInput) - Method in class io.scanbot.sdk.ocr.intelligence.OcrUrisInput
Allows to set OCR input as a list of URIs of encrypted or normal images
copy(sandwichedPdfDocument, sandwichedPdfDocumentFile, ocrPages) - Method in class io.scanbot.sdk.ocr.process.OcrResult
Represents result of OCR-performing. Optionally contains sandwiched pdf file
copy(text, paragraphs, lines, words) - Method in class io.scanbot.sdk.ocr.process.OcrResult.OCRPage
Represents result of OCR-performing on the page. Contains recognized text as a String
copy(text, boundingBox, boundingBoxWithImageSize, confidenceValue, blockType) - Method in class io.scanbot.sdk.ocr.process.OcrResultBlock
Part of the optical character recognitions result. Each block represents a text paragraph, a text line or a word and contains information about it, like the found text, the bounding box, where in the image the paragraph/line/word can be found, the confidence value and the type.
createFromPix(pixData, width, height, depth) - Static method in class com.googlecode.leptonica.android.Pix
Creates a new Pix from raw Pix data obtained from getData().
createPixa(size) - Static method in class com.googlecode.leptonica.android.Pixa
Creates a new Pixa with the specified minimum capacity. The Pixa will expand automatically as new Pix are added.
createPixa(size, width, height) - Static method in class com.googlecode.leptonica.android.Pixa
Creates a new Pixa with the specified minimum capacity. The Pixa will expand automatically as new Pix are added.

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
 
DefaultTextOrientationScanner - Class in io.scanbot.sdk.textorientation
Performs detection and recognition of TextOrientation
DefaultTextOrientationScanner(blobManager) - Constructor for class io.scanbot.sdk.textorientation.DefaultTextOrientationScanner
Performs detection and recognition of TextOrientation
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.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. End() is equivalent to destructing and reconstructing your TessBaseAPI.
endDocument(tessPdfRenderer) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Finishes the document and finalizes the output data. Invalid if beginDocument not yet called.
Enhance - Class in com.googlecode.leptonica.android
Image sharpening methods.
equals(p) - Method in class io.scanbot.sdk.ocr.intelligence.OcrBitmapInput
 
equals(p) - Method in class io.scanbot.sdk.ocr.intelligence.OcrPagesInput
 
equals(p) - Method in class io.scanbot.sdk.ocr.intelligence.OcrUrisInput
 
equals(p) - Method in class io.scanbot.sdk.ocr.process.OcrResult
 
equals(p) - Method in class io.scanbot.sdk.ocr.process.OcrResult.OCRPage
 
equals(p) - Method in class io.scanbot.sdk.ocr.process.OcrResultBlock
 

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(pixs) - Static method in class com.googlecode.leptonica.android.Skew
Finds and returns the skew angle using default parameters.
findSkew(pixs, sweepRange, sweepDelta, sweepReduction, searchReduction, searchMinDelta) - 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

getBinarizeImage() - Method in class io.scanbot.sdk.ocr.intelligence.OcrSettings.Builder
 
getBinarizeImage() - Method in class io.scanbot.sdk.ocr.intelligence.OcrSettings
 
getBitmap() - Method in class io.scanbot.sdk.ocr.intelligence.OcrBitmapInput
 
getBoundingBox(level) - Method in class com.googlecode.tesseract.android.PageIterator
Get bounding box: x, y, w, h
getBoundingRect(level) - Method in class com.googlecode.tesseract.android.PageIterator
Get a bounding box as an Android Rect.
getBox(index) - Method in class com.googlecode.leptonica.android.Pixa
Returns the Box at the specified index, or null on error.
getBoxGeometry(index) - Method in class com.googlecode.leptonica.android.Pixa
Returns a geometry array for the Box at the specified index. See Box.INDEX_* for indices.
getBoxGeometry(index, dimensions) - Method in class com.googlecode.leptonica.android.Pixa
Fills an array with the geometry of the Box at the specified index. See Box.INDEX_* for indices.
getBoxRect(index) - 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(page) - 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. May match the bounds of the entire image or a sub-rectangle of the entire image. The returned bounding box is in the Android coordinate system, which has the origin in the top left.
getCurrentWordRect() - Method in class com.googlecode.tesseract.android.TessBaseAPI.ProgressValues
Return the bounds of the word currently being recognized. The returned bounding box is in the Android coordinate system, which has the origin in the top left.
getData() - Method in class com.googlecode.leptonica.android.Pix
Return the raw bytes of the native PIX object. You can reconstruct the Pix from this data using createFromPix().
getDepth() - Method in class com.googlecode.leptonica.android.Pix
Returns the depth of this Pix.
getDetectedLines() - Method in interface io.scanbot.sdk.ocr.intelligence.OcrPdfRenderer.RenderIterator
 
getDetectedParagraphs() - Method in interface io.scanbot.sdk.ocr.intelligence.OcrPdfRenderer.RenderIterator
 
getDetectedText() - Method in interface io.scanbot.sdk.ocr.intelligence.OcrPdfRenderer.RenderIterator
 
getDetectedWords() - Method in interface io.scanbot.sdk.ocr.intelligence.OcrPdfRenderer.RenderIterator
 
getDimensions() - Method in class com.googlecode.leptonica.android.Pix
Returns an array of this image's dimensions. See Pix.INDEX_* for indices.
getDimensions(dimensions) - Method in class com.googlecode.leptonica.android.Pix
Fills an array with this image's dimensions. The array must be at least 3 elements long.
getEncryptedInput() - Method in class io.scanbot.sdk.ocr.intelligence.OcrUrisInput
 
getGeometry() - Method in class com.googlecode.leptonica.android.Box
Returns an array containing the coordinates of this box. See INDEX_* constants for indices.
getGeometry(geometry) - Method in class com.googlecode.leptonica.android.Box
Fills an array containing the coordinates of this box. See INDEX_* constants for indices.
getGeometry(index) - Method in class com.googlecode.leptonica.android.Boxa
Returns an array containing the coordinates of this box. See INDEX_* constants for indices.
getGeometry(index, geometry) - Method in class com.googlecode.leptonica.android.Boxa
Fills an array containing the coordinates of this box. See INDEX_* constants for indices.
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(page) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Make a HTML-formatted string with hOCR markup from the internal data structures. Interruptible by com.googlecode.tesseract.android.TessBaseAPI$stop().
getInitLanguagesAsString() - Method in class com.googlecode.tesseract.android.TessBaseAPI
Returns the languages string used in the last valid initialization. If the last initialization specified "deu+hin" then that will be returned. If hin loaded eng automatically as well, then that will not be included in this list.
getInstalledLanguages() - Method in interface io.scanbot.sdk.ocr.OpticalCharacterRecognizer
 
getInstalledLanguages() - Method in class io.scanbot.sdk.ocr.ScanbotOpticalCharacterRecognizer
 
getLanguageDataPath() - Method in interface io.scanbot.sdk.ocr.OpticalCharacterRecognizer
 
getLanguageDataPath() - Method in class io.scanbot.sdk.ocr.ScanbotOpticalCharacterRecognizer
 
getLastProcessedPosition() - Method in interface io.scanbot.sdk.ocr.intelligence.OcrPdfRenderer.RenderIterator
 
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. This is used by native code and is only valid within the same process in which the Pix was created.
getNativePixa() - Method in class com.googlecode.leptonica.android.Pixa
Returns a pointer to the native PIXA object. This is used by native code.
getOutputBuffer(tessPdfRenderer) - Method in class com.googlecode.tesseract.android.TessBaseAPI
 
getPages() - Method in class io.scanbot.sdk.ocr.intelligence.OcrPagesInput
 
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(index) - Method in class com.googlecode.leptonica.android.Pixa
Returns the Pix at the specified index, or null on error.
getPixel(x, y) - Method in class com.googlecode.leptonica.android.Pix
Returns the android.graphics.Color at the specified location.
getRecognizedText() - Method in class io.scanbot.sdk.ocr.process.OcrResult
 
getRect() - Method in class com.googlecode.leptonica.android.Box
Returns an android.graphics.Rect containing the coordinates of this box.
getRect(index) - Method in class com.googlecode.leptonica.android.Boxa
Returns an android.graphics.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. The returned iterator must be deleted after use.
getSize() - Method in class io.scanbot.sdk.ocr.intelligence.OcrBitmapInput
 
getSize() - Method in class io.scanbot.sdk.ocr.intelligence.OcrInput
 
getSize() - Method in class io.scanbot.sdk.ocr.intelligence.OcrPagesInput
 
getSize() - Method in class io.scanbot.sdk.ocr.intelligence.OcrUrisInput
 
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. Textlines are extracted from the thresholded image.
getThresholdedImage() - Method in class com.googlecode.tesseract.android.TessBaseAPI
Get a copy of the internal thresholded image from Tesseract.
getUris() - Method in class io.scanbot.sdk.ocr.intelligence.OcrUrisInput
 
getUTF8Text(level) - 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. This is a blocking operation that will not work with com.googlecode.tesseract.android.TessBaseAPI$stop(). Call com.googlecode.tesseract.android.TessBaseAPI$getHOCRText(kotlin.Int) before calling this function to interrupt a recognition task with com.googlecode.tesseract.android.TessBaseAPI$stop()
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
 

H

hashCode() - Method in class io.scanbot.sdk.ocr.intelligence.OcrBitmapInput
 
hashCode() - Method in class io.scanbot.sdk.ocr.intelligence.OcrPagesInput
 
hashCode() - Method in class io.scanbot.sdk.ocr.intelligence.OcrUrisInput
 
hashCode() - Method in class io.scanbot.sdk.ocr.process.OcrResult
 
hashCode() - Method in class io.scanbot.sdk.ocr.process.OcrResult.OCRPage
 
hashCode() - Method in class io.scanbot.sdk.ocr.process.OcrResultBlock
 

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(datapath, language) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Initializes the Tesseract engine with a specified language model. Returns true on success.
init(datapath, language, ocrEngineMode) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Initializes the Tesseract engine with the specified language model(s). Returns true on success.
invert() - Method in class com.googlecode.leptonica.android.Pix
Inverts this Pix in-place.
io.scanbot.sdk.ocr - package io.scanbot.sdk.ocr
 
io.scanbot.sdk.ocr.intelligence - package io.scanbot.sdk.ocr.intelligence
 
io.scanbot.sdk.ocr.process - package io.scanbot.sdk.ocr.process
 
io.scanbot.sdk.ocr.process.compose - package io.scanbot.sdk.ocr.process.compose
 
io.scanbot.sdk.textorientation - package io.scanbot.sdk.textorientation
 
isAtBeginningOf(level) - Method in class com.googlecode.tesseract.android.ResultIterator
Returns true if the iterator is at the start of an object at the given level. Possible uses include determining if a call to Next(RIL_WORD) moved to the start of a RIL_PARA.
isAtFinalElement(level, element) - Method in class com.googlecode.tesseract.android.ResultIterator
Returns whether the iterator is positioned at the last element in a given level. (e.g. the last word in a line, the last line in a block)
iterator() - Method in class com.googlecode.leptonica.android.Pixa
 

J

join(otherPixa) - 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.

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
lines - Variable in class io.scanbot.sdk.ocr.process.OcrResult.OCRPage
The

M

meanConfidence() - Method in class com.googlecode.tesseract.android.TessBaseAPI
Returns the (average) confidence value between 0 and 100.
mergeAndReplacePix(indexA, indexB) - 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.TophatType - Annotation Type in com.googlecode.leptonica.android
 

N

next(level) - 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

OcrBitmapInput - Class in io.scanbot.sdk.ocr.intelligence
Allows to set OCR input as a bitmap
OcrBitmapInput(bitmap) - Constructor for class io.scanbot.sdk.ocr.intelligence.OcrBitmapInput
Allows to set OCR input as a bitmap
OcrComposer - Class in io.scanbot.sdk.ocr.process.compose
Composes sandwiched document if all binaries are available and document language can be detected, or falls back to default PDF writing otherwise.
OcrComposer(blobManager, pdfRenderer, simpleComposer, sapManager, ocrSettings) - Constructor for class io.scanbot.sdk.ocr.process.compose.OcrComposer
Composes sandwiched document if all binaries are available and document language can be detected, or falls back to default PDF writing otherwise.
OcrInput - Class in io.scanbot.sdk.ocr.intelligence
Input for the OCR process
OCRPage(text, paragraphs, lines, words) - Constructor for class io.scanbot.sdk.ocr.process.OcrResult.OCRPage
Represents result of OCR-performing on the page. Contains recognized text as a String
ocrPages - Variable in class io.scanbot.sdk.ocr.process.OcrResult
List of pages with OCR data
OcrPagesInput - Class in io.scanbot.sdk.ocr.intelligence
Allows to set OCR input as a list of pages
OcrPagesInput(pages) - Constructor for class io.scanbot.sdk.ocr.intelligence.OcrPagesInput
Allows to set OCR input as a list of pages
OcrPdfRenderer - Class in io.scanbot.sdk.ocr.intelligence
Saves Document with given Pages into PDF sandwiched with results of OCR. Perform OCR during this process.
OcrPdfRenderer(documentStoreStrategy, pageFileStorage, blobStoreStrategy, bitmapBinarizer, fileIOProcessor, composerCache) - Constructor for class io.scanbot.sdk.ocr.intelligence.OcrPdfRenderer
Saves Document with given Pages into PDF sandwiched with results of OCR. Perform OCR during this process.
OcrPdfRenderer.BitmapBinarizer - Interface in io.scanbot.sdk.ocr.intelligence
Applies binarization filter to Bitmap.
OcrPdfRenderer.RenderIterator - Interface in io.scanbot.sdk.ocr.intelligence
Controls render process. OCR performed as iterator advances. interface OcrPdfRenderer.RenderIterator must be recycled after usage:
OcrPerformer - Interface in io.scanbot.sdk.ocr.process
Performs Ocr and return class OcrResult if license or feature not available result will contains empty data
OcrResult - Class in io.scanbot.sdk.ocr.process
Represents result of OCR-performing. Optionally contains sandwiched pdf file
OcrResult(sandwichedPdfDocument, sandwichedPdfDocumentFile, ocrPages) - Constructor for class io.scanbot.sdk.ocr.process.OcrResult
Represents result of OCR-performing. Optionally contains sandwiched pdf file
OcrResult() - Constructor for class io.scanbot.sdk.ocr.process.OcrResult
Represents result of OCR-performing. Optionally contains sandwiched pdf file
OcrResult.OCRPage - Class in io.scanbot.sdk.ocr.process
Represents result of OCR-performing on the page. Contains recognized text as a String
OcrResultBlock - Class in io.scanbot.sdk.ocr.process
Part of the optical character recognitions result. Each block represents a text paragraph, a text line or a word and contains information about it, like the found text, the bounding box, where in the image the paragraph/line/word can be found, the confidence value and the type.
OcrResultBlock(text, boundingBox, boundingBoxWithImageSize, confidenceValue, blockType) - Constructor for class io.scanbot.sdk.ocr.process.OcrResultBlock
Part of the optical character recognitions result. Each block represents a text paragraph, a text line or a word and contains information about it, like the found text, the bounding box, where in the image the paragraph/line/word can be found, the confidence value and the type.
OcrResultBlock.OcrResultBlockType - Enum in io.scanbot.sdk.ocr.process
Represents block types for a text paragraph, a text line or a word.
OcrSettings - Class in io.scanbot.sdk.ocr.intelligence
Encapsulates settings for OCR
OcrSettings.Builder - Class in io.scanbot.sdk.ocr.intelligence
 
OcrUrisInput - Class in io.scanbot.sdk.ocr.intelligence
Allows to set OCR input as a list of URIs of encrypted or normal images
OcrUrisInput(uris, encryptedInput) - Constructor for class io.scanbot.sdk.ocr.intelligence.OcrUrisInput
Allows to set OCR input as a list of URIs of encrypted or normal images
OEM_DEFAULT - Static variable in class com.googlecode.tesseract.android.TessBaseAPI
Default OCR engine mode.
OEM_LSTM_ONLY - Static variable in class com.googlecode.tesseract.android.TessBaseAPI
Deprecated. 
OEM_TESSERACT_LSTM_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
onBitmap(bitmap, languages) - Method in class io.scanbot.sdk.ocr.intelligence.StubTextRecognition
 
onBitmap(bitmap, languages) - Method in class io.scanbot.sdk.ocr.intelligence.TextRecognizerFactory
 
onBitmap(bitmap, languages) - Method in interface io.scanbot.sdk.ocr.process.TextRecognition
Provides class TextRecognizer which can be used to recognize text on a bitmap.
onProgressValues(percent, left, right, top, bottom, textLeft, textRight, textTop, textBottom) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Called from native code to update progress of ongoing recognition passes.
onProgressValues(progressValues) - Method in interface com.googlecode.tesseract.android.TessBaseAPI.ProgressNotifier
 
OpticalCharacterRecognizer - Interface in io.scanbot.sdk.ocr
 
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(pixs) - Static method in class com.googlecode.leptonica.android.Binarize
Performs locally-adaptive Otsu threshold binarization with default parameters.
otsuAdaptiveThreshold(pixs, sizeX, sizeY, smoothX, smoothY, scoreFraction) - Static method in class com.googlecode.leptonica.android.Binarize
Performs locally-adaptive Otsu threshold binarization.

P

PageIterator - Class in com.googlecode.tesseract.android
 
PageIteratorLevel.Level - Annotation Type in com.googlecode.tesseract.android
 
PageSegMode.Mode - Annotation Type in com.googlecode.tesseract.android
 
paragraphs - Variable in class io.scanbot.sdk.ocr.process.OcrResult.OCRPage
The
PDF_TEMP_IMAGE_FILE_SUFFIX - Static variable in class io.scanbot.sdk.ocr.intelligence.OcrPdfRenderer
 
Pix - Class in com.googlecode.leptonica.android
Java representation of a native Leptonica PIX object.
Pix(nativePix) - Constructor for class com.googlecode.leptonica.android.Pix
Creates a new Pix wrapper for the specified native PIX object.
Pix(width, height, depth) - Constructor for class com.googlecode.leptonica.android.Pix
 
Pixa - Class in com.googlecode.leptonica.android
Java representation of a native PIXA object. This object contains multiple PIX objects and their associated bounding BOX objects.
Pixa(nativePixa, width, height) - Constructor for class com.googlecode.leptonica.android.Pixa
Creates a wrapper for the specified native Pixa pointer.
pixContrastNorm(pixs) - 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(pixs, sizeX, sizeY, minDiff, smoothX, smoothY) - Static method in class com.googlecode.leptonica.android.AdaptiveMap
Adaptively attempts to expand the contrast to the full dynamic range in each tile.
pixFastTophat(pixs, xsize, ysize, type) - Static method in class com.googlecode.leptonica.android.MorphApp
Performs a tophat-like operation.
pixFastTophatBlack(pixs) - Static method in class com.googlecode.leptonica.android.MorphApp
Performs a tophat-like operation emphasizing small dark regions using default values.
pixFastTophatWhite(pixs) - Static method in class com.googlecode.leptonica.android.MorphApp
Performs a tophat-like operation emphasizing small bright regions using default values.
pixSobelEdgeFilter(pixs, orientFlag) - Static method in class com.googlecode.leptonica.android.Edge
Performs a Sobel edge detecting filter.
pixThresholdToBinary(pixs, thresh) - Static method in class com.googlecode.leptonica.android.GrayQuant
Perform simple (pixelwise) binarization with fixed threshold
pixTophat(pixs, hsize, vsize, type) - Static method in class com.googlecode.leptonica.android.MorphApp
Performs a tophat transform.
ProgressValues(percent, wordRect, textRect) - 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. (OSD)
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. (Default.)
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(bmp) - Static method in class com.googlecode.leptonica.android.ReadFile
Creates a Pix object from Bitmap data. Currently supports only ARGB_8888-formatted bitmaps.
readBytes8(pixelData, width, height) - Static method in class com.googlecode.leptonica.android.ReadFile
Creates an 8bpp Pix object from raw 8bpp grayscale pixels.
readConfigFile(filename) - 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(file) - Static method in class com.googlecode.leptonica.android.ReadFile
Creates a Pix object from encoded file data. Supported formats are BMP, JPEG, and PNG.
readMem(encodedData) - Static method in class com.googlecode.leptonica.android.ReadFile
Creates a 32bpp Pix object from encoded data. Supported formats are BMP, JPEG, and PNG.
recognize() - Method in class io.scanbot.sdk.ocr.intelligence.SandwichingPdfOcrPerformer
 
recognize() - Method in class io.scanbot.sdk.ocr.intelligence.SimpleOcrPerformer
 
recognize() - Method in class io.scanbot.sdk.ocr.intelligence.StubOcrPerformer
 
recognize() - Method in interface io.scanbot.sdk.ocr.process.OcrPerformer
 
recognize() - Method in class io.scanbot.sdk.ocr.process.TextRecognizer
Performs text recognition using interface OcrPerformer
recognizeBitmap(bitmap, requestedConfidence) - Method in class io.scanbot.sdk.textorientation.DefaultTextOrientationScanner
Performs TextOrientation recognition on the Bitmap
recognizeBitmap(bitmap, requestedConfidence) - Method in class io.scanbot.sdk.textorientation.StubTextOrientationScanner
Performs TextOrientation recognition on the Bitmap
recognizeBitmap(bitmap, requestedConfidence) - Method in interface io.scanbot.sdk.textorientation.TextOrientationScanner
Performs TextOrientation recognition on the Bitmap
recognizeJPEG(jpeg, width, height, requestedConfidence) - Method in class io.scanbot.sdk.textorientation.DefaultTextOrientationScanner
Performs TextOrientation recognition on the JPEG format image
recognizeJPEG(jpeg, width, height, requestedConfidence) - Method in class io.scanbot.sdk.textorientation.StubTextOrientationScanner
Performs TextOrientation recognition on the JPEG format image
recognizeJPEG(jpeg, width, height, requestedConfidence) - Method in interface io.scanbot.sdk.textorientation.TextOrientationScanner
Performs TextOrientation recognition on the JPEG format image
recognizeTextFromBitmap(bitmap, languages) - Method in interface io.scanbot.sdk.ocr.OpticalCharacterRecognizer
Performs OCR only (without PDF result) from the bitmap with provided languages
recognizeTextFromBitmap(bitmap, languages) - Method in class io.scanbot.sdk.ocr.ScanbotOpticalCharacterRecognizer
Performs OCR only (without PDF result) from the bitmap with provided languages
recognizeTextFromPages(pages, languages) - Method in interface io.scanbot.sdk.ocr.OpticalCharacterRecognizer
Performs OCR only (without PDF result) from pages with provided languages
recognizeTextFromPages(pages, languages) - Method in class io.scanbot.sdk.ocr.ScanbotOpticalCharacterRecognizer
Performs OCR only (without PDF result) from pages with provided languages
recognizeTextFromUris(imageFileUris, sourceFilesEncrypted, languages) - Method in interface io.scanbot.sdk.ocr.OpticalCharacterRecognizer
Performs OCR only (without PDF result) from Images with provided languages
recognizeTextFromUris(imageFileUris, sourceFilesEncrypted, languages) - Method in class io.scanbot.sdk.ocr.ScanbotOpticalCharacterRecognizer
Performs OCR only (without PDF result) from Images with provided languages
recognizeTextWithPdfFromPages(pages, pageSize, languages) - Method in interface io.scanbot.sdk.ocr.OpticalCharacterRecognizer
Performs OCR and creates sandwiched OCR PDF file (from given Page objects. Based on the new Page class io.scanbot.sdk.persistence.Page! Use the document image from a Page.) with provided languages
recognizeTextWithPdfFromPages(pages, pageSize, languages) - Method in class io.scanbot.sdk.ocr.ScanbotOpticalCharacterRecognizer
Performs OCR and creates sandwiched OCR PDF file (from given Page objects. Based on the new Page class io.scanbot.sdk.persistence.Page! Use the document image from a Page.) with provided languages
recognizeTextWithPdfFromUris(imageFileUris, sourceFilesEncrypted, pageSize, languages) - Method in interface io.scanbot.sdk.ocr.OpticalCharacterRecognizer
Performs OCR and creates sandwiched OCR PDF file (from given image file URIs) with provided languages
recognizeTextWithPdfFromUris(imageFileUris, sourceFilesEncrypted, pageSize, languages) - Method in class io.scanbot.sdk.ocr.ScanbotOpticalCharacterRecognizer
Performs OCR and creates sandwiched OCR PDF file (from given image file URIs) with provided languages
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. You may not modify or access the pix after calling this method.
recycle() - Method in class com.googlecode.leptonica.android.Pixa
Recycles this Pixa and frees natively allocated memory. You may not access or modify the Pixa after calling this method.
recycle() - Method in class com.googlecode.tesseract.android.TessPdfRenderer
Releases resources and frees any memory associated with this TessPdfRenderer object. Must be called on object destruction.
recycle() - Method in interface io.scanbot.sdk.ocr.intelligence.OcrPdfRenderer.RenderIterator
renderNextPage() - Method in interface io.scanbot.sdk.ocr.intelligence.OcrPdfRenderer.RenderIterator
Performs OCR of next page if available.
replaceBytes8(pixs, pixelData, width, height) - Static method in class com.googlecode.leptonica.android.ReadFile
Replaces the bytes in an 8bpp Pix object with raw grayscale 8bpp pixels. Width and height be identical to the input Pix.
replacePix(index, 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. Does not implement all available JNI methods, but does implement enough to be useful. Comments are adapted from original Tesseract source.
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(pixs, degrees) - Static method in class com.googlecode.leptonica.android.Rotate
Performs rotation using the default parameters.
rotate(pixs, degrees, quality) - Static method in class com.googlecode.leptonica.android.Rotate
Performs rotation with resizing using the default parameters.
rotate(pixs, degrees, quality, resize) - 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(pixs, quads) - Static method in class com.googlecode.leptonica.android.Rotate
Performs top-level rotation by multiples of 90 degrees.

S

sandwichedPdfDocument - Variable in class io.scanbot.sdk.ocr.process.OcrResult
Optional sandwiched pdf
sandwichedPdfDocumentFile - Variable in class io.scanbot.sdk.ocr.process.OcrResult
Optional sandwiched pdf
SandwichingPdfOcrPerformer - Class in io.scanbot.sdk.ocr.intelligence
Performs OCR and returns recognized text and sandwiched pdf as a result.
SandwichingPdfOcrPerformer(sapManager, pdfRenderer, languages, documentStoreStrategy, simpleComposer, config, document, ocrInput) - Constructor for class io.scanbot.sdk.ocr.intelligence.SandwichingPdfOcrPerformer
Performs OCR and returns recognized text and sandwiched pdf as a result.
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(pixs) - Static method in class com.googlecode.leptonica.android.Binarize
Performs Sauvola binarization using default values.
sauvolaBinarizeTiled(pixs, whsize, factor, nx, ny) - Static method in class com.googlecode.leptonica.android.Binarize
Performs Sauvola binarization.
Scale - Class in com.googlecode.leptonica.android
Image scaling methods.
scale(pixs, scale) - Static method in class com.googlecode.leptonica.android.Scale
Scales the Pix to specified scale. If no scaling is required, returns a clone of the source Pix.
scale(pixs, scaleX, scaleY) - Static method in class com.googlecode.leptonica.android.Scale
Scales the Pix to specified x and y scale. If no scaling is required, returns a clone of the source Pix.
Scale.ScaleType - Enum in com.googlecode.leptonica.android
 
scaleToSize(pixs, width, height, type) - 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.). Returns a scaled image or a clone of the Pix if no scaling is required.
scaleWithoutSharpening(pixs, scale) - Static method in class com.googlecode.leptonica.android.Scale
Scales the Pix to the specified scale without sharpening.
ScanbotOpticalCharacterRecognizer - Class in io.scanbot.sdk.ocr
Default implementation of interface OpticalCharacterRecognizer for Scanbot SDK
ScanbotOpticalCharacterRecognizer(context, textRecognition, blobManager) - Constructor for class io.scanbot.sdk.ocr.ScanbotOpticalCharacterRecognizer
Default implementation of interface OpticalCharacterRecognizer for Scanbot SDK
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(enabled) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Sets debug mode. This controls how much information is displayed in the log during recognition.
setImage(file) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Provides an image for Tesseract to recognize. Copies the image buffer. The source image may be destroyed immediately after SetImage is called. SetImage clears all recognition results, and sets the rectangle to the full image, so it may be followed immediately by a GetUTF8Text, and it will automatically perform recognition.
setImage(bmp) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Provides an image for Tesseract to recognize. Copies the image buffer. The source image may be destroyed immediately after SetImage is called. SetImage clears all recognition results, and sets the rectangle to the full image, so it may be followed immediately by a GetUTF8Text, and it will automatically perform recognition.
setImage(image) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Provides a Leptonica pix format image for Tesseract to recognize. Clones the pix object. The source image may be destroyed immediately after SetImage is called, but its contents may not be modified.
setImage(imagedata, width, height, bpp, bpl) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Provides an image for Tesseract to recognize. Copies the image buffer. The source image may be destroyed immediately after SetImage is called. SetImage clears all recognition results, and sets the rectangle to the full image, so it may be followed immediately by a GetUTF8Text, and it will automatically perform recognition.
setInputName(name) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Set the name of the input file. Needed for training and reading a UNLV zone file.
setOutputName(name) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Set the name of the bonus output files. Needed only for debugging.
setPageSegMode(mode) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Sets the page segmentation mode. Defaults to PageSegMode#PSM_SINGLE_BLOCK. This controls how much processing the OCR engine will perform before recognizing text.
setPixel(x, y, color) - Method in class com.googlecode.leptonica.android.Pix
Sets the android.graphics.Color at the specified location.
setRectangle(rect) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Restricts recognition to a sub-rectangle of the image. Call after SetImage. Each SetRectangle clears the recognition results so multiple rectangles can be recognized with the same image.
setRectangle(left, top, width, height) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Restricts recognition to a sub-rectangle of the image. Call after SetImage. Each SetRectangle clears the recognition results so multiple rectangles can be recognized with the same image.
setVariable(var, value) - Method in class com.googlecode.tesseract.android.TessBaseAPI
Set the value of an internal "parameter."
SimpleOcrPerformer - Class in io.scanbot.sdk.ocr.intelligence
Performs OCR and returns recognized text as a result
SimpleOcrPerformer(sapManager, languages, blobStoreStrategy, pageFileStorage, fileIOProcessor, ocrSettings, bitmapBinarizer, input) - Constructor for class io.scanbot.sdk.ocr.intelligence.SimpleOcrPerformer
Performs OCR and returns recognized text as a result
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.
sort(field, order) - Method in class com.googlecode.leptonica.android.Pixa
Sorts this Pixa using the specified field and order. See Constants.L_SORT_BY_* and Constants.L_SORT_INCREASING or Constants.L_SORT_DECREASING.
startRender(document, ocrInput, languages, ocrSettings) - Method in class io.scanbot.sdk.ocr.intelligence.OcrPdfRenderer
Starts render of document into PDF file. Returns interface OcrPdfRenderer.RenderIterator which performs OCR and generates document as it being advanced.
stop() - Method in class com.googlecode.tesseract.android.TessBaseAPI
StubOcrPerformer - Class in io.scanbot.sdk.ocr.intelligence
Dummy realization of interface OcrPerformer. Part of OCR-feature, which is available only in Scanbot SDK package 2.
StubOcrPerformer() - Constructor for class io.scanbot.sdk.ocr.intelligence.StubOcrPerformer
 
StubOcrPerformer(sapManager) - Constructor for class io.scanbot.sdk.ocr.intelligence.StubOcrPerformer
 
StubTextOrientationScanner - Class in io.scanbot.sdk.textorientation
Stub for TextOrientationScanner
StubTextOrientationScanner(sapManager) - Constructor for class io.scanbot.sdk.textorientation.StubTextOrientationScanner
Stub for TextOrientationScanner
StubTextRecognition - Class in io.scanbot.sdk.ocr.intelligence
Dummy realization of interface TextRecognition. Part of OCR-feature, which is available only in Scanbot SDK package 2.
StubTextRecognition() - Constructor for class io.scanbot.sdk.ocr.intelligence.StubTextRecognition
 
StubTextRecognition(sapManager) - Constructor for class io.scanbot.sdk.ocr.intelligence.StubTextRecognition
 
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. Does not implement all available JNI methods, but does implement enough to be useful. Comments are adapted from original Tesseract source.
TessBaseAPI() - Constructor for class com.googlecode.tesseract.android.TessBaseAPI
Constructs an instance of 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 class ResultIterator to provide functions that operate on each level without having to have 5x as many functions.
TessBaseAPI.PageSegMode - Class in com.googlecode.tesseract.android
Page segmentation mode.
TessBaseAPI.ProgressNotifier - Interface in com.googlecode.tesseract.android
Interface that may be implemented by calling object in order to receive progress callbacks during OCR. Progress callbacks are available when com.googlecode.tesseract.android.TessBaseAPI$getHOCRText(kotlin.Int) is used.
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(baseApi, outputPath) - Constructor for class com.googlecode.tesseract.android.TessPdfRenderer
Constructs an instance of a Tesseract PDF renderer. When the instance of TessPdfRenderer is no longer needed, its com.googlecode.tesseract.android.TessPdfRenderer$recycle() method must be invoked to dispose of it.
TessPdfRenderer(baseApi) - Constructor for class com.googlecode.tesseract.android.TessPdfRenderer
Constructs an instance of a Tesseract PDF renderer. When the instance of TessPdfRenderer is no longer needed, its com.googlecode.tesseract.android.TessPdfRenderer$recycle() method must be invoked to dispose of it. This [TessPdfRenderer] will write the generated pdf file to the internal byte array buffer.
text - Variable in class io.scanbot.sdk.ocr.process.OcrResult.OCRPage
Recognized text as a
text - Variable in class io.scanbot.sdk.ocr.process.OcrResultBlock
The recognized text within the receivers bounding box.
TextOrientationScanner - Interface in io.scanbot.sdk.textorientation
Performs detection and recognition of TextOrientation
TextRecognition - Interface in io.scanbot.sdk.ocr.process
Text recognition API.
TextRecognizer - Class in io.scanbot.sdk.ocr.process
Performs text recognition.
TextRecognizer(ocrPerformer) - Constructor for class io.scanbot.sdk.ocr.process.TextRecognizer
Performs text recognition.
TextRecognizerFactory - Class in io.scanbot.sdk.ocr.intelligence
Provides appropriate class TextRecognizers depending on needed result
TextRecognizerFactory(sapManager, pdfRenderer, documentStoreStrategy, simpleComposer, blobStoreStrategy, pageFileStorage, fileIOProcessor, ocrSettings, bitmapBinarizer) - Constructor for class io.scanbot.sdk.ocr.intelligence.TextRecognizerFactory
Provides appropriate class TextRecognizers depending on needed result
toString() - Method in class io.scanbot.sdk.ocr.intelligence.OcrBitmapInput
 
toString() - Method in class io.scanbot.sdk.ocr.intelligence.OcrPagesInput
 
toString() - Method in class io.scanbot.sdk.ocr.intelligence.OcrUrisInput
 
toString() - Method in class io.scanbot.sdk.ocr.process.OcrResult.OCRPage
 
toString() - Method in class io.scanbot.sdk.ocr.process.OcrResult
 
toString() - Method in class io.scanbot.sdk.ocr.process.OcrResultBlock
 

U

unsharpMasking(pixs) - Static method in class com.googlecode.leptonica.android.Enhance
Performs unsharp masking (edge enhancement) using default values.
unsharpMasking(pixs, halfwidth, fraction) - Static method in class com.googlecode.leptonica.android.Enhance
Performs unsharp masking (edge enhancement).

V

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

withoutPDF(pages, languages) - Method in class io.scanbot.sdk.ocr.intelligence.StubTextRecognition
 
withoutPDF(uris, sourceFilesEncrypted, languages) - Method in class io.scanbot.sdk.ocr.intelligence.StubTextRecognition
 
withoutPDF(pages, languages) - Method in class io.scanbot.sdk.ocr.intelligence.TextRecognizerFactory
 
withoutPDF(uris, encryptedInput, languages) - Method in class io.scanbot.sdk.ocr.intelligence.TextRecognizerFactory
 
withoutPDF(pages, languages) - Method in interface io.scanbot.sdk.ocr.process.TextRecognition
Provides class TextRecognizer which can be used to recognize text.
withoutPDF(uris, sourceFilesEncrypted, languages) - Method in interface io.scanbot.sdk.ocr.process.TextRecognition
Provides class TextRecognizer which can be used to recognize text.
withPDF(document, pages, languages) - Method in class io.scanbot.sdk.ocr.intelligence.StubTextRecognition
 
withPDF(document, uris, sourceFilesEncrypted, languages) - Method in class io.scanbot.sdk.ocr.intelligence.StubTextRecognition
 
withPDF(document, pages, languages) - Method in class io.scanbot.sdk.ocr.intelligence.TextRecognizerFactory
 
withPDF(document, uris, encryptedInput, languages) - Method in class io.scanbot.sdk.ocr.intelligence.TextRecognizerFactory
 
withPDF(document, pages, languages) - Method in interface io.scanbot.sdk.ocr.process.TextRecognition
Provides class TextRecognizer which can be used for creating PDF with embedded text recognition result.
withPDF(document, uris, sourceFilesEncrypted, languages) - Method in interface io.scanbot.sdk.ocr.process.TextRecognition
Provides class TextRecognizer which can be used for creating PDF with embedded text recognition result.
wordConfidences() - Method in class com.googlecode.tesseract.android.TessBaseAPI
Returns all word confidences (between 0 and 100) in an array.
words - Variable in class io.scanbot.sdk.ocr.process.OcrResult.OCRPage
The
writeBitmap(pixs) - Static method in class com.googlecode.leptonica.android.WriteFile
Writes a Pix to an Android Bitmap object. The output Bitmap will always be in ARGB_8888 format, but the input Pixs may be any bit-depth.
writeBytes8(pixs) - Static method in class com.googlecode.leptonica.android.WriteFile
Write an 8bpp Pix to a flat byte array.
writeBytes8(pixs, data) - 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
 
writeImpliedFormat(pixs, 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 H I J L M N O P R S T U V W 
Skip navigation links