public static interface DetectTextFilters.Builder extends SdkPojo, CopyableBuilder<DetectTextFilters.Builder,DetectTextFilters>
| Modifier and Type | Method and Description |
|---|---|
DetectTextFilters.Builder |
regionsOfInterest(Collection<RegionOfInterest> regionsOfInterest)
A Filter focusing on a certain area of the image.
|
DetectTextFilters.Builder |
regionsOfInterest(Consumer<RegionOfInterest.Builder>... regionsOfInterest)
A Filter focusing on a certain area of the image.
|
DetectTextFilters.Builder |
regionsOfInterest(RegionOfInterest... regionsOfInterest)
A Filter focusing on a certain area of the image.
|
default DetectTextFilters.Builder |
wordFilter(Consumer<DetectionFilter.Builder> wordFilter)
Sets the value of the WordFilter property for this object.
|
DetectTextFilters.Builder |
wordFilter(DetectionFilter wordFilter)
Sets the value of the WordFilter property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDetectTextFilters.Builder wordFilter(DetectionFilter wordFilter)
wordFilter - The new value for the WordFilter property for this object.default DetectTextFilters.Builder wordFilter(Consumer<DetectionFilter.Builder> wordFilter)
DetectionFilter.Builder avoiding the
need to create one manually via DetectionFilter.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to wordFilter(DetectionFilter).
wordFilter - a consumer that will call methods on DetectionFilter.BuilderwordFilter(DetectionFilter)DetectTextFilters.Builder regionsOfInterest(Collection<RegionOfInterest> regionsOfInterest)
A Filter focusing on a certain area of the image. Uses a BoundingBox object to set the region of
the image.
regionsOfInterest - A Filter focusing on a certain area of the image. Uses a BoundingBox object to set the
region of the image.DetectTextFilters.Builder regionsOfInterest(RegionOfInterest... regionsOfInterest)
A Filter focusing on a certain area of the image. Uses a BoundingBox object to set the region of
the image.
regionsOfInterest - A Filter focusing on a certain area of the image. Uses a BoundingBox object to set the
region of the image.DetectTextFilters.Builder regionsOfInterest(Consumer<RegionOfInterest.Builder>... regionsOfInterest)
A Filter focusing on a certain area of the image. Uses a BoundingBox object to set the region of
the image.
RegionOfInterest.Builder avoiding the need to
create one manually via RegionOfInterest.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #regionsOfInterest(List.
regionsOfInterest - a consumer that will call methods on
RegionOfInterest.Builder#regionsOfInterest(java.util.Collection) Copyright © 2023. All rights reserved.