DepthCamera

interface DepthCamera(source)

General API of any depth camera.

Properties

Link copied to clipboard
abstract val currentFrame: ColorBuffer

The most recent frame received from the depth camera.

Link copied to clipboard

The units/mapping in which depth is expressed on received frames.

Link copied to clipboard
abstract var flipH: Boolean

Flips source depth data image in horizontal axis (mirror).

Link copied to clipboard
abstract var flipV: Boolean

Flips source depth data image in vertical axis (upside-down).

Link copied to clipboard
abstract val resolution: IntVector2

Current operating resolution.

Functions

Link copied to clipboard
abstract fun onFrameReceived(block: (frame: ColorBuffer) -> Unit)

Will execute the supplied block of code with each most recent frame from the depth camera as an input.