Class OcrChar
java.lang.Object
com.microblink.blinkid.results.ocr.OcrChar
- All Implemented Interfaces:
android.os.Parcelable
-
Nested Class Summary
-
Field Summary
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getFont()
Returns the font of the characterint
Returns the height of the char, in pixels.Returns the position of char in imageint
Returns the recognition quality of the char.char
getValue()
Returns the value of the char.boolean
Returns true if OCR engine thinks this char is uncertaintoString()
void
writeToParcel
(android.os.Parcel dest, int flags)
-
Field Details
-
CREATOR
-
-
Constructor Details
-
OcrChar
-
-
Method Details
-
getValue
public char getValue()Returns the value of the char.- Returns:
- the value of the char
-
getHeight
public int getHeight()Returns the height of the char, in pixels.- Returns:
- the height of the char, in pixels.
-
isUncertain
public boolean isUncertain()Returns true if OCR engine thinks this char is uncertain- Returns:
- true if OCR engine thinks this char is uncertain
-
getQuality
@IntRange(from=0L, to=100L) public int getQuality()Returns the recognition quality of the char. Max quality is 100 and min quality is 0.- Returns:
- the recognition quality of the char.
-
getPosition
Returns the position of char in image- Returns:
- the position of char in image
-
getFont
Returns the font of the character- Returns:
- the font of the character
-
toString
-
describeContents
public int describeContents()- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(@NonNull android.os.Parcel dest, int flags) - Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-