@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 confidence of word detection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller 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 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 confidence of word detection.
|
public void setMinConfidence(Float minConfidence)
Sets confidence of word detection. Words with detection confidence below this will be excluded from the result. Values should be between 0.5 and 1 as Text in Video will not return any result below 0.5.
minConfidence - Sets confidence of word detection. Words with detection confidence below this will be excluded from the
result. Values should be between 0.5 and 1 as Text in Video will not return any result below 0.5.public Float getMinConfidence()
Sets confidence of word detection. Words with detection confidence below this will be excluded from the result. Values should be between 0.5 and 1 as Text in Video will not return any result below 0.5.
public DetectionFilter withMinConfidence(Float minConfidence)
Sets confidence of word detection. Words with detection confidence below this will be excluded from the result. Values should be between 0.5 and 1 as Text in Video will not return any result below 0.5.
minConfidence - Sets confidence of word detection. Words with detection confidence below this will be excluded from the
result. Values should be between 0.5 and 1 as Text in Video will not return any result below 0.5.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 ObjectObject.toString()public DetectionFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.