OpenCV for Unity 3.0.0
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.12.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.UnityUtils.Helper.ISource2MatHelper Interface Reference

Base interface for converting various sources to Mat. More...

Public Member Functions

bool DidUpdateThisFrame ()
 Gets whether the frame was updated in the current frame.
 
void Dispose ()
 Disposes of resources.
 
Source2MatHelperColorFormat GetBaseColorFormat ()
 Gets the base color format.
 
string GetDeviceName ()
 Gets the device name.
 
int GetHeight ()
 Gets the height of the frame.
 
Mat GetMat ()
 Gets the current Mat.
 
int GetWidth ()
 Gets the width of the frame.
 
void Initialize (bool autoPlay)
 Initializes the helper with the specified auto-play setting.
 
bool IsInitialized ()
 Gets whether the helper is initialized.
 
bool IsPaused ()
 Gets whether playback is paused.
 
bool IsPlaying ()
 Gets whether playback is active.
 
void Pause ()
 Pauses playback.
 
void Play ()
 Starts playing.
 
void Stop ()
 Stops playback.
 

Properties

UnityEvent onDisposed [get, set]
 Gets or sets the event that is invoked when resources are disposed.
 
Source2MatHelperErrorUnityEvent onErrorOccurred [get, set]
 Gets or sets the event that is invoked when an error occurs.
 
UnityEvent onInitialized [get, set]
 Gets or sets the event that is invoked when initialization is complete.
 
Source2MatHelperColorFormat outputColorFormat [get, set]
 Gets or sets the output color format.
 
int timeoutFrameCount [get, set]
 Gets or sets the timeout frame count.
 

Detailed Description

Base interface for converting various sources to Mat.

Member Function Documentation

◆ DidUpdateThisFrame()

◆ Dispose()

◆ GetBaseColorFormat()

◆ GetDeviceName()

◆ GetHeight()

◆ GetMat()

◆ GetWidth()

◆ Initialize()

void OpenCVForUnity.UnityUtils.Helper.ISource2MatHelper.Initialize ( bool autoPlay)

◆ IsInitialized()

◆ IsPaused()

◆ IsPlaying()

◆ Pause()

◆ Play()

◆ Stop()

Property Documentation

◆ onDisposed

◆ onErrorOccurred

◆ onInitialized

◆ outputColorFormat

◆ timeoutFrameCount


The documentation for this interface was generated from the following file: