Class OcrResult

  • All Implemented Interfaces:
    android.os.Parcelable

    
    public final class OcrResult
     implements Parcelable
                        

    Result of OCR text recognition.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getText() recognized text
      final Float getConfidence() confidence in result accuracy.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getConfidence

         final Float getConfidence()

        confidence in result accuracy. The value ranges from 0 to 100, higher is better.