Class MedicalCertificateCheckBox

java.lang.Object
io.scanbot.sdk.medicalcertificate.MedicalCertificateCheckBox

public class MedicalCertificateCheckBox extends Object
Structure to contain full information about found box.
  • Constructor Details

    • MedicalCertificateCheckBox

      public MedicalCertificateCheckBox(MedicalCertificateCheckBoxType type, boolean checked, double checkedConfidence, List<PointF> quad)
      Constructs MedicalCertificateCheckBox with the given params.
      Parameters:
      type - Box type. Default is `UNKNOWN`.
      checked - True if the box is checked. Default is `false`.
      checkedConfidence - Confidence of the checked/unchecked prediction. Default is `0.0`.
      quad - Points of the box.
    • MedicalCertificateCheckBox

      public MedicalCertificateCheckBox(List<PointF> quad)
      Constructs MedicalCertificateCheckBox with default parameters.
      Parameters:
      quad - Points of the box.
  • Method Details

    • getType

      Getter for type field. See constructor documentation for more information about the field.
      Returns:
      type
    • getChecked

      public boolean getChecked()
      Getter for checked field. See constructor documentation for more information about the field.
      Returns:
      checked
    • getCheckedConfidence

      public double getCheckedConfidence()
      Getter for checkedConfidence field. See constructor documentation for more information about the field.
      Returns:
      checkedConfidence
    • getQuad

      public List<PointF> getQuad()
      Getter for quad field. See constructor documentation for more information about the field.
      Returns:
      quad