public class SignClassification
Single result of sign instance classification.
Constructor and Description |
---|
SignClassification(Sign sign,
float typeConfidence,
float numberConfidence,
Detection detection)
Single result of sign instance classification.
|
Modifier and Type | Method and Description |
---|---|
Sign |
component1()
Classified sign
|
float |
component2()
Confidence of the sign type,
|
float |
component3()
Confidence of the number on the sign
|
Detection |
component4()
Detection on which the classification is based
|
SignClassification |
copy(Sign sign,
float typeConfidence,
float numberConfidence,
Detection detection)
Single result of sign instance classification.
|
boolean |
equals(java.lang.Object p) |
Detection |
getDetection()
Detection on which the classification is based
|
float |
getNumberConfidence()
Confidence of the number on the sign
|
Sign |
getSign()
Classified sign
|
float |
getTypeConfidence()
Confidence of the sign type,
|
int |
hashCode() |
java.lang.String |
toString() |
public SignClassification(Sign sign, float typeConfidence, float numberConfidence, Detection detection)
Single result of sign instance classification.
sign
- Classified signtypeConfidence
- Confidence of the sign type, returned by classificatornumberConfidence
- Confidence of the number on the sign (if applicable), returned by classificatordetection
- Detection on which the classification is basedsign
- Classified signtypeConfidence
- Confidence of the sign type, returned by classificatornumberConfidence
- Confidence of the number on the sign (if applicable), returned by classificatordetection
- Detection on which the classification is basedpublic Sign getSign()
Classified sign
public float getTypeConfidence()
Confidence of the sign type,
returned by classificator
public float getNumberConfidence()
Confidence of the number on the sign
(if applicable), returned by classificator
public Detection getDetection()
Detection on which the classification is based
public Sign component1()
Classified sign
public float component2()
Confidence of the sign type,
returned by classificator
public float component3()
Confidence of the number on the sign
(if applicable), returned by classificator
public Detection component4()
Detection on which the classification is based
public SignClassification copy(Sign sign, float typeConfidence, float numberConfidence, Detection detection)
Single result of sign instance classification.
sign
- Classified signtypeConfidence
- Confidence of the sign type, returned by classificatornumberConfidence
- Confidence of the number on the sign (if applicable), returned by classificatordetection
- Detection on which the classification is basedpublic java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)