tensorflow/lite/g3doc/api_docs/java/org/tensorflow/lite/task/core/vision/ImageProcessingOptions.Builder.html
public static abstract class ImageProcessingOptions.Builder
Builder for ImageProcessingOptions.
| | Builder() |
| ImageProcessingOptions | build() | | abstract ImageProcessingOptions.Builder | setOrientation(ImageProcessingOptions.Orientation orientation) Sets the orientation of the image.
| | abstract ImageProcessingOptions.Builder | setRoi(Rect roi) Sets the region of interest (ROI) of the image.
|
From class java.lang.Object
| boolean | equals(Object arg0) | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |
Sets the orientation of the image. Defaults to ImageProcessingOptions.Orientation.TOP_LEFT.
Rotation will be applied accordingly so that inference is performed on an "upright" image.
| orientation | |
Sets the region of interest (ROI) of the image. Defaults to the entire image.
Cropping according to this region of interest is prepended to the pre-processing operations.
| roi | |