@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartTextDetectionFilters extends Object implements Serializable, Cloneable, StructuredPojo
Set of optional parameters that let you set the criteria text must meet to be included in your response.
WordFilter
looks at a word's height, width and minimum confidence. RegionOfInterest
lets
you set a specific region of the screen to look for text in.
Constructor and Description |
---|
StartTextDetectionFilters() |
Modifier and Type | Method and Description |
---|---|
StartTextDetectionFilters |
clone() |
boolean |
equals(Object obj) |
List<RegionOfInterest> |
getRegionsOfInterest()
Filter focusing on a certain area of the frame.
|
DetectionFilter |
getWordFilter()
Filters focusing on qualities of the text, such as confidence or size.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRegionsOfInterest(Collection<RegionOfInterest> regionsOfInterest)
Filter focusing on a certain area of the frame.
|
void |
setWordFilter(DetectionFilter wordFilter)
Filters focusing on qualities of the text, such as confidence or size.
|
String |
toString()
Returns a string representation of this object.
|
StartTextDetectionFilters |
withRegionsOfInterest(Collection<RegionOfInterest> regionsOfInterest)
Filter focusing on a certain area of the frame.
|
StartTextDetectionFilters |
withRegionsOfInterest(RegionOfInterest... regionsOfInterest)
Filter focusing on a certain area of the frame.
|
StartTextDetectionFilters |
withWordFilter(DetectionFilter wordFilter)
Filters focusing on qualities of the text, such as confidence or size.
|
public void setWordFilter(DetectionFilter wordFilter)
Filters focusing on qualities of the text, such as confidence or size.
wordFilter
- Filters focusing on qualities of the text, such as confidence or size.public DetectionFilter getWordFilter()
Filters focusing on qualities of the text, such as confidence or size.
public StartTextDetectionFilters withWordFilter(DetectionFilter wordFilter)
Filters focusing on qualities of the text, such as confidence or size.
wordFilter
- Filters focusing on qualities of the text, such as confidence or size.public List<RegionOfInterest> getRegionsOfInterest()
Filter focusing on a certain area of the frame. Uses a BoundingBox
object to set the region of the
screen.
BoundingBox
object to set the region
of the screen.public void setRegionsOfInterest(Collection<RegionOfInterest> regionsOfInterest)
Filter focusing on a certain area of the frame. Uses a BoundingBox
object to set the region of the
screen.
regionsOfInterest
- Filter focusing on a certain area of the frame. Uses a BoundingBox
object to set the region
of the screen.public StartTextDetectionFilters withRegionsOfInterest(RegionOfInterest... regionsOfInterest)
Filter focusing on a certain area of the frame. Uses a BoundingBox
object to set the region of the
screen.
NOTE: This method appends the values to the existing list (if any). Use
setRegionsOfInterest(java.util.Collection)
or withRegionsOfInterest(java.util.Collection)
if
you want to override the existing values.
regionsOfInterest
- Filter focusing on a certain area of the frame. Uses a BoundingBox
object to set the region
of the screen.public StartTextDetectionFilters withRegionsOfInterest(Collection<RegionOfInterest> regionsOfInterest)
Filter focusing on a certain area of the frame. Uses a BoundingBox
object to set the region of the
screen.
regionsOfInterest
- Filter focusing on a certain area of the frame. Uses a BoundingBox
object to set the region
of the screen.public String toString()
toString
in class Object
Object.toString()
public StartTextDetectionFilters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.