BoundingBox

data class BoundingBox(val x: Double, val y: Double, val width: Double, val height: Double)

The bounding box around a ScannedObject, in camera-space coordinates (0.0 to 1.0). Convert it to view-space with the preview view's convertCameraPointToViewPoint.

Constructors

Link copied to clipboard
constructor(x: Double, y: Double, width: Double, height: Double)

Properties

Link copied to clipboard

The height of the bounding box.

Link copied to clipboard

The width of the bounding box.

Link copied to clipboard
val x: Double

The minimum X coordinate.

Link copied to clipboard
val y: Double

The minimum Y coordinate.