@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectionFilter extends Object implements Serializable, Cloneable, StructuredPojo
A set of parameters that allow you to filter out certain results from your returned results.
Constructor and Description |
---|
DetectionFilter() |
Modifier and Type | Method and Description |
---|---|
DetectionFilter |
clone() |
boolean |
equals(Object obj) |
Float |
getMinBoundingBoxHeight()
Sets the minimum height of the word bounding box.
|
Float |
getMinBoundingBoxWidth()
Sets the minimum width of the word bounding box.
|
Float |
getMinConfidence()
Sets the confidence of word detection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMinBoundingBoxHeight(Float minBoundingBoxHeight)
Sets the minimum height of the word bounding box.
|
void |
setMinBoundingBoxWidth(Float minBoundingBoxWidth)
Sets the minimum width of the word bounding box.
|
void |
setMinConfidence(Float minConfidence)
Sets the confidence of word detection.
|
String |
toString()
Returns a string representation of this object.
|
DetectionFilter |
withMinBoundingBoxHeight(Float minBoundingBoxHeight)
Sets the minimum height of the word bounding box.
|
DetectionFilter |
withMinBoundingBoxWidth(Float minBoundingBoxWidth)
Sets the minimum width of the word bounding box.
|
DetectionFilter |
withMinConfidence(Float minConfidence)
Sets the confidence of word detection.
|
public void setMinConfidence(Float minConfidence)
Sets the confidence of word detection. Words with detection confidence below this will be excluded from the result. Values should be between 0 and 100. The default MinConfidence is 80.
minConfidence
- Sets the confidence of word detection. Words with detection confidence below this will be excluded from
the result. Values should be between 0 and 100. The default MinConfidence is 80.public Float getMinConfidence()
Sets the confidence of word detection. Words with detection confidence below this will be excluded from the result. Values should be between 0 and 100. The default MinConfidence is 80.
public DetectionFilter withMinConfidence(Float minConfidence)
Sets the confidence of word detection. Words with detection confidence below this will be excluded from the result. Values should be between 0 and 100. The default MinConfidence is 80.
minConfidence
- Sets the confidence of word detection. Words with detection confidence below this will be excluded from
the result. Values should be between 0 and 100. The default MinConfidence is 80.public void setMinBoundingBoxHeight(Float minBoundingBoxHeight)
Sets the minimum height of the word bounding box. Words with bounding box heights lesser than this value will be excluded from the result. Value is relative to the video frame height.
minBoundingBoxHeight
- Sets the minimum height of the word bounding box. Words with bounding box heights lesser than this value
will be excluded from the result. Value is relative to the video frame height.public Float getMinBoundingBoxHeight()
Sets the minimum height of the word bounding box. Words with bounding box heights lesser than this value will be excluded from the result. Value is relative to the video frame height.
public DetectionFilter withMinBoundingBoxHeight(Float minBoundingBoxHeight)
Sets the minimum height of the word bounding box. Words with bounding box heights lesser than this value will be excluded from the result. Value is relative to the video frame height.
minBoundingBoxHeight
- Sets the minimum height of the word bounding box. Words with bounding box heights lesser than this value
will be excluded from the result. Value is relative to the video frame height.public void setMinBoundingBoxWidth(Float minBoundingBoxWidth)
Sets the minimum width of the word bounding box. Words with bounding boxes widths lesser than this value will be excluded from the result. Value is relative to the video frame width.
minBoundingBoxWidth
- Sets the minimum width of the word bounding box. Words with bounding boxes widths lesser than this value
will be excluded from the result. Value is relative to the video frame width.public Float getMinBoundingBoxWidth()
Sets the minimum width of the word bounding box. Words with bounding boxes widths lesser than this value will be excluded from the result. Value is relative to the video frame width.
public DetectionFilter withMinBoundingBoxWidth(Float minBoundingBoxWidth)
Sets the minimum width of the word bounding box. Words with bounding boxes widths lesser than this value will be excluded from the result. Value is relative to the video frame width.
minBoundingBoxWidth
- Sets the minimum width of the word bounding box. Words with bounding boxes widths lesser than this value
will be excluded from the result. Value is relative to the video frame width.public String toString()
toString
in class Object
Object.toString()
public DetectionFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.