Class OcrResult
- java.lang.Object
-
- com.microblink.documentverification.results.ocr.OcrResult
-
- All Implemented Interfaces:
android.os.Parcelable
public class OcrResult extends java.lang.Object implements android.os.ParcelableRepresents a raw OCR result. OCR result contains one or more OCR blocks. Each OCR block contains one or more OCR lines. Each line contains one or more OCR chars. Each OCR char is represented with its value, position and possible alternatives.
-
-
Constructor Summary
Constructors Constructor Description OcrResult(long nativePtr, java.lang.Object keep)Constructor from native code
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OcrResultclone()Creates a clone of the object.intdescribeContents()voiddispose()Disposes the object.protected voidfinalize()OcrBlock[]getBlocks()java.lang.StringtoString()voidwriteToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
@NonNull public static final android.os.Parcelable.Creator<OcrResult> CREATOR
Parcelable creator.
-
-
Method Detail
-
finalize
protected void finalize() throws java.lang.Throwable- Overrides:
finalizein classjava.lang.Object- Throws:
java.lang.Throwable
-
dispose
public void dispose()
Disposes the object. After the object has been disposed, all operations on it are illegal.
-
clone
@NonNull public OcrResult clone()
Creates a clone of the object.- Overrides:
clonein classjava.lang.Object- Returns:
- a clone of the object.
-
getBlocks
@Nullable public OcrBlock[] getBlocks()
- Returns:
- the blocks
-
toString
@NonNull public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
describeContents
public int describeContents()
- Specified by:
describeContentsin interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(@NonNull android.os.Parcel dest, int flags)- Specified by:
writeToParcelin interfaceandroid.os.Parcelable
-
-