Class SpectatorViewOpenCVInterface
Wrapper class for SpectatorView.OpenCV.dll built from the SpectatorView.Native.sln
Inheritance
SpectatorViewOpenCVInterface
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
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
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 |
|
PixelFormat |
pixelFormat |
|
CameraIntrinsics |
intrinsics |
|
CameraExtrinsics |
extrinsics |
|
Returns
SetMarkerSize(Single)
Declaration
public void SetMarkerSize(float markerSize)
Parameters
Type |
Name |
Description |
Single |
markerSize |
|