Builder for ImageProcessingOptions
.
Builder()
|
ImageProcessingOptions |
build()
|
abstract ImageProcessingOptions.Builder | |
abstract ImageProcessingOptions.Builder |
setRoi(Rect roi)
Sets the region of interest (ROI) of the image.
|
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 |
---|