Class MRTDDetector.Result

All Implemented Interfaces:
android.os.Parcelable
Enclosing class:
MRTDDetector

public static final class MRTDDetector.Result extends QuadWithSizeDetector.Result
  • Field Details

  • Constructor Details

    • Result

      protected Result(long nativeResult)
  • Method Details

    • getMrzPhysicalHeightInInches

      public float getMrzPhysicalHeightInInches()
      Returns the physical height in inches of Machine Readable Zone.
    • getMRZLocation

      public Quadrilateral getMRZLocation()
      Returns the location of Machine Readable Zone in coordinate system of image in which detection was performed.
      Returns:
      the location of Machine Readable Zone in coordinate system of image in which detection was performed.
    • toString

      public String toString()
      Overrides:
      toString in class QuadDetector.Result
    • serializeToByteArray

      @Nullable protected byte[] serializeToByteArray()
      Specified by:
      serializeToByteArray in class Entity.Result
    • deserializeFromByteArray

      protected void deserializeFromByteArray(@NonNull byte[] arr)
      Specified by:
      deserializeFromByteArray in class Entity.Result
    • clone

      public MRTDDetector.Result clone()
      Description copied from class: Entity.Result
      Create a copy of the result. This is required in order to retain the result even after owning entity has mutated it.
      Specified by:
      clone in class Entity.Result
      Returns:
      a copy of the result
    • terminateNative

      protected void terminateNative(long nativeContext)
      Specified by:
      terminateNative in class Entity.Result