InitInfo

class InitInfo(val imageWidth: Int, val imageHeight: Int, val containerWidth: Int, val containerHeight: Int, val containerDepth: Int)

Configuration structure for framework session handle.

Parameters

imageWidth

the expected image width when accessing the camera in this session. We recommend the image width to match the desired output tensor's width in Pipeline.rectifiedVSTAccess to avoid unnecessary image resizing. Must be greater than zero. Unit is pixel.

imageHeight

the expected image height when accessing the camera in this session. We recommend the image height to match the desired output tensor's height in Pipeline.rectifiedVSTAccess to avoid unnecessary image resizing. Must be greater than zero. Unit is pixel.

containerWidth

the width of the SpatialML container at initialization. Must be greater than zero if you want to use the SpatialML container; zero or negative to disable the SpatialML container.

containerHeight

the height of the SpatialML container at initialization. Must be greater than zero if you want to use the SpatialML container; zero or negative to disable the SpatialML container.

containerDepth

the depth of SpatialML container at initialization. If zero, the SpatialML container will be in portal mode; if positive, the SpatialML container will be in volumetric mode; if negative, SpatialML container will be disabled.

See also

Constructors

Link copied to clipboard
constructor(imageWidth: Int, imageHeight: Int, containerWidth: Int, containerHeight: Int, containerDepth: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val imageHeight: Int
Link copied to clipboard
val imageWidth: Int