Class DeviceFrameSourceCamera
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
Device camera that provides camera frame data in a frame source.
public class DeviceFrameSourceCamera : FrameSourceCamera, IDisposable
- Inheritance
-
DeviceFrameSourceCamera
- Implements
- Inherited Members
Constructors
DeviceFrameSourceCamera(CameraDeviceType, int, Vector2Int, Vector2, CameraExtrinsics, AxisSystemType)
Sets values according to the description of each property.
public DeviceFrameSourceCamera(CameraDeviceType cameraType, int cameraOrientation, Vector2Int frameSize, Vector2 frameRateRange, DeviceFrameSourceCamera.CameraExtrinsics extrinsics, AxisSystemType axisSystem)
Parameters
cameraTypecameraOrientationframeSizeframeRateRangeextrinsicsaxisSystem
Properties
AxisSystem
Coordinate-axis system used by the head/camera pose and camera extrinsics. All matrices must use the same coordinate-axis system. If your data definition does not conform to a known system, you need to perform coordinate-axis transformation before passing it to EasyAR.
public AxisSystemType AxisSystem { get; }
Extrinsics
Camera extrinsics, usually a calibrated matrix. Its coordinate axes should conform to the definition of AxisSystem. If the coordinate-axis definition of the extrinsics is different from that of your pose, or if they do not conform to the definition of AxisSystem, you need to perform coordinate-axis transformation before setting this value.
public DeviceFrameSourceCamera.CameraExtrinsics Extrinsics { get; }