public static abstract class
ImageProcessingOptions.Builder
Builder for ImageProcessingOptions
.
Public Constructors
Builder()
|
Public Methods
ImageProcessingOptions |
build()
|
abstract ImageProcessingOptions.Builder | |
abstract ImageProcessingOptions.Builder |
setRoi(Rect roi)
Sets the region of interest (ROI) of the image.
|
Inherited Methods
Public Constructors
public Builder ()
Public Methods
public abstract ImageProcessingOptions.Builder setOrientation (ImageProcessingOptions.Orientation orientation)
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.
Parameters
orientation |
---|
public abstract ImageProcessingOptions.Builder setRoi (Rect roi)
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.
Parameters
roi |
---|