Package io.scanbot.sdk.mc
Class MedicalCertificateCheckBox
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class MedicalCertificateCheckBox implements Parcelable
Structure to contain full information about found box.
-
-
Field Summary
Fields Modifier and Type Field Description private final MedicalCertificateCheckBoxType
type
private final Boolean
checked
private final Double
checkedConfidence
private final List<PointF>
quad
-
Constructor Summary
Constructors Constructor Description MedicalCertificateCheckBox(Map<String, Object> source)
MedicalCertificateCheckBox(JSONObject json)
MedicalCertificateCheckBox(MedicalCertificateCheckBoxType type, Boolean checked, Double checkedConfidence, List<PointF> quad)
-
Method Summary
Modifier and Type Method Description final MedicalCertificateCheckBoxType
getType()
Box type. final Boolean
getChecked()
True if the box is checked. final Double
getCheckedConfidence()
Confidence of the checked/unchecked prediction. final List<PointF>
getQuad()
Points of the box. final JSONObject
toJson(ToJsonConfiguration config)
final MedicalCertificateCheckBox
clone()
-
-
Constructor Detail
-
MedicalCertificateCheckBox
MedicalCertificateCheckBox(JSONObject json)
-
MedicalCertificateCheckBox
MedicalCertificateCheckBox(MedicalCertificateCheckBoxType type, Boolean checked, Double checkedConfidence, List<PointF> quad)
-
-
Method Detail
-
getType
final MedicalCertificateCheckBoxType getType()
Box type.
Default is UNKNOWN
-
getChecked
final Boolean getChecked()
True if the box is checked.
Default is false
-
getCheckedConfidence
final Double getCheckedConfidence()
Confidence of the checked/unchecked prediction.
Default is 0.0
-
toJson
final JSONObject toJson(ToJsonConfiguration config)
-
clone
final MedicalCertificateCheckBox clone()
-
-
-
-