Class: DeviceCameraOptions
Defined in: src/camera/CameraOptions.ts:50
Configuration options for the device camera.
Constructors
Constructor
new DeviceCameraOptions(
options?):DeviceCameraOptions
Defined in: src/camera/CameraOptions.ts:66
Parameters
options?
enabled?
boolean = false
rgbToDepthParams?
{ k1?: number; k2?: number; k3?: number; p1?: number; p2?: number; scale?: number; scaleX?: number; scaleY?: number; translateU?: number; translateV?: number; xc?: number; yc?: number; } = ...
Parameters for RGB to depth UV mapping given different aspect ratios.
rgbToDepthParams.k1?
number
rgbToDepthParams.k2?
number
rgbToDepthParams.k3?
number
rgbToDepthParams.p1?
number
rgbToDepthParams.p2?
number
rgbToDepthParams.scale?
number
rgbToDepthParams.scaleX?
number
rgbToDepthParams.scaleY?
number
rgbToDepthParams.translateU?
number
rgbToDepthParams.translateV?
number
rgbToDepthParams.xc?
number
rgbToDepthParams.yc?
number
videoConstraints?
{ }
Constraints for getUserMedia. This will guide the initial camera
selection.
willCaptureFrequently?
boolean = false
Hint for performance optimization on frequent captures.
Returns
DeviceCameraOptions
Properties
enabled
enabled:
boolean=false
Defined in: src/camera/CameraOptions.ts:51
rgbToDepthParams
rgbToDepthParams:
RgbToDepthParams
Defined in: src/camera/CameraOptions.ts:64
Parameters for RGB to depth UV mapping given different aspect ratios.
videoConstraints?
optionalvideoConstraints:MediaTrackConstraints
Defined in: src/camera/CameraOptions.ts:56
Constraints for getUserMedia. This will guide the initial camera
selection.
willCaptureFrequently
willCaptureFrequently:
boolean=false
Defined in: src/camera/CameraOptions.ts:60
Hint for performance optimization on frequent captures.