RawImageLoadOptions

data class RawImageLoadOptions(var roi: Rect = Rect(), var orientation: ImageRotation = ImageRotation.NONE) : Parcelable

Options for loading images that come from sensor.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(roi: Rect = Rect(), orientation: ImageRotation = ImageRotation.NONE)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Rotation that should be applied to the image to recover correct orientation.

Link copied to clipboard
var roi: Rect

Region of interest.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject