Class SpectatorViewOpenCVInterface
Wrapper class for SpectatorView.OpenCV.dll built from the SpectatorView.Native.sln
Inherited Members
Namespace: Microsoft.MixedReality.SpectatorView
Assembly: cs.temp.dll.dll
Syntax
public class SpectatorViewOpenCVInterface
Properties
IsInitialized
True if the SpectatorViewPlugin.dll has been successfully initialized
Declaration
public bool IsInitialized { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Initialize(Single)
Called to initialize SpectatorViewPlugin.dll
Declaration
public bool Initialize(float markerSize)
Parameters
Type | Name | Description |
---|---|---|
Single | markerSize | Physical size of the markers being detected in meters |
Returns
Type | Description |
---|---|
Boolean |
ProcessImage(Byte[], UInt32, UInt32, PixelFormat, CameraIntrinsics, CameraExtrinsics)
Assesses the provided image for ArUco markers
Declaration
public Dictionary<int, Marker> ProcessImage(byte[] imageData, uint imageWidth, uint imageHeight, PixelFormat pixelFormat, CameraIntrinsics intrinsics, CameraExtrinsics extrinsics)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | imageData | |
UInt32 | imageWidth | |
UInt32 | imageHeight | |
Pixel |
pixelFormat | |
Camera |
intrinsics | |
Camera |
extrinsics |
Returns
SetMarkerSize(Single)
Declaration
public void SetMarkerSize(float markerSize)
Parameters
Type | Name | Description |
---|---|---|
Single | markerSize |