|
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.
|
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. | |
Base interface for converting various sources to Mat.
| bool OpenCVForUnity.UnityUtils.Helper.ISource2MatHelper.DidUpdateThisFrame | ( | ) |
Gets whether the frame was updated in the current frame.
Implemented in OpenCVForUnity.UnityUtils.Helper.AsyncGPUReadback2MatHelper, OpenCVForUnity.UnityUtils.Helper.Image2MatHelper, OpenCVForUnity.UnityUtils.Helper.MultiSource2MatHelper, OpenCVForUnity.UnityUtils.Helper.UnityVideoPlayer2MatHelper, OpenCVForUnity.UnityUtils.Helper.VideoCapture2MatHelper, OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatAsyncGPUHelper, and OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatHelper.
| void OpenCVForUnity.UnityUtils.Helper.ISource2MatHelper.Dispose | ( | ) |
Disposes of resources.
Implemented in OpenCVForUnity.UnityUtils.Helper.AsyncGPUReadback2MatHelper, OpenCVForUnity.UnityUtils.Helper.Image2MatHelper, OpenCVForUnity.UnityUtils.Helper.MultiSource2MatHelper, OpenCVForUnity.UnityUtils.Helper.UnityVideoPlayer2MatHelper, OpenCVForUnity.UnityUtils.Helper.VideoCapture2MatHelper, OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatAsyncGPUHelper, and OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatHelper.
| Source2MatHelperColorFormat OpenCVForUnity.UnityUtils.Helper.ISource2MatHelper.GetBaseColorFormat | ( | ) |
Gets the base color format.
Implemented in OpenCVForUnity.UnityUtils.Helper.AsyncGPUReadback2MatHelper, OpenCVForUnity.UnityUtils.Helper.Image2MatHelper, OpenCVForUnity.UnityUtils.Helper.MultiSource2MatHelper, OpenCVForUnity.UnityUtils.Helper.UnityVideoPlayer2MatHelper, OpenCVForUnity.UnityUtils.Helper.VideoCapture2MatHelper, and OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatHelper.
| string OpenCVForUnity.UnityUtils.Helper.ISource2MatHelper.GetDeviceName | ( | ) |
Gets the device name.
Implemented in OpenCVForUnity.UnityUtils.Helper.AsyncGPUReadback2MatHelper, OpenCVForUnity.UnityUtils.Helper.Image2MatHelper, OpenCVForUnity.UnityUtils.Helper.MultiSource2MatHelper, OpenCVForUnity.UnityUtils.Helper.UnityVideoPlayer2MatHelper, OpenCVForUnity.UnityUtils.Helper.VideoCapture2MatHelper, and OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatHelper.
| int OpenCVForUnity.UnityUtils.Helper.ISource2MatHelper.GetHeight | ( | ) |
Gets the height of the frame.
Implemented in OpenCVForUnity.UnityUtils.Helper.AsyncGPUReadback2MatHelper, OpenCVForUnity.UnityUtils.Helper.Image2MatHelper, OpenCVForUnity.UnityUtils.Helper.MultiSource2MatHelper, OpenCVForUnity.UnityUtils.Helper.UnityVideoPlayer2MatHelper, OpenCVForUnity.UnityUtils.Helper.VideoCapture2MatHelper, and OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatHelper.
| Mat OpenCVForUnity.UnityUtils.Helper.ISource2MatHelper.GetMat | ( | ) |
Gets the current Mat.
Implemented in OpenCVForUnity.UnityUtils.Helper.AsyncGPUReadback2MatHelper, OpenCVForUnity.UnityUtils.Helper.Image2MatHelper, OpenCVForUnity.UnityUtils.Helper.MultiSource2MatHelper, OpenCVForUnity.UnityUtils.Helper.UnityVideoPlayer2MatHelper, OpenCVForUnity.UnityUtils.Helper.VideoCapture2MatHelper, OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatAsyncGPUHelper, and OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatHelper.
| int OpenCVForUnity.UnityUtils.Helper.ISource2MatHelper.GetWidth | ( | ) |
Gets the width of the frame.
Implemented in OpenCVForUnity.UnityUtils.Helper.AsyncGPUReadback2MatHelper, OpenCVForUnity.UnityUtils.Helper.Image2MatHelper, OpenCVForUnity.UnityUtils.Helper.MultiSource2MatHelper, OpenCVForUnity.UnityUtils.Helper.UnityVideoPlayer2MatHelper, OpenCVForUnity.UnityUtils.Helper.VideoCapture2MatHelper, and OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatHelper.
| void OpenCVForUnity.UnityUtils.Helper.ISource2MatHelper.Initialize | ( | bool | autoPlay | ) |
Initializes the helper with the specified auto-play setting.
| autoPlay | Whether to automatically start playing |
Implemented in OpenCVForUnity.UnityUtils.Helper.AsyncGPUReadback2MatHelper, OpenCVForUnity.UnityUtils.Helper.Image2MatHelper, OpenCVForUnity.UnityUtils.Helper.MultiSource2MatHelper, OpenCVForUnity.UnityUtils.Helper.UnityVideoPlayer2MatHelper, OpenCVForUnity.UnityUtils.Helper.VideoCapture2MatHelper, and OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatHelper.
| bool OpenCVForUnity.UnityUtils.Helper.ISource2MatHelper.IsInitialized | ( | ) |
Gets whether the helper is initialized.
Implemented in OpenCVForUnity.UnityUtils.Helper.AsyncGPUReadback2MatHelper, OpenCVForUnity.UnityUtils.Helper.Image2MatHelper, OpenCVForUnity.UnityUtils.Helper.MultiSource2MatHelper, OpenCVForUnity.UnityUtils.Helper.UnityVideoPlayer2MatHelper, OpenCVForUnity.UnityUtils.Helper.VideoCapture2MatHelper, and OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatHelper.
| bool OpenCVForUnity.UnityUtils.Helper.ISource2MatHelper.IsPaused | ( | ) |
Gets whether playback is paused.
Implemented in OpenCVForUnity.UnityUtils.Helper.AsyncGPUReadback2MatHelper, OpenCVForUnity.UnityUtils.Helper.Image2MatHelper, OpenCVForUnity.UnityUtils.Helper.MultiSource2MatHelper, OpenCVForUnity.UnityUtils.Helper.UnityVideoPlayer2MatHelper, OpenCVForUnity.UnityUtils.Helper.VideoCapture2MatHelper, and OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatHelper.
| bool OpenCVForUnity.UnityUtils.Helper.ISource2MatHelper.IsPlaying | ( | ) |
Gets whether playback is active.
Implemented in OpenCVForUnity.UnityUtils.Helper.AsyncGPUReadback2MatHelper, OpenCVForUnity.UnityUtils.Helper.Image2MatHelper, OpenCVForUnity.UnityUtils.Helper.MultiSource2MatHelper, OpenCVForUnity.UnityUtils.Helper.UnityVideoPlayer2MatHelper, OpenCVForUnity.UnityUtils.Helper.VideoCapture2MatHelper, and OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatHelper.
| void OpenCVForUnity.UnityUtils.Helper.ISource2MatHelper.Pause | ( | ) |
Pauses playback.
Implemented in OpenCVForUnity.UnityUtils.Helper.AsyncGPUReadback2MatHelper, OpenCVForUnity.UnityUtils.Helper.Image2MatHelper, OpenCVForUnity.UnityUtils.Helper.MultiSource2MatHelper, OpenCVForUnity.UnityUtils.Helper.UnityVideoPlayer2MatHelper, OpenCVForUnity.UnityUtils.Helper.VideoCapture2MatHelper, OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatAsyncGPUHelper, and OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatHelper.
| void OpenCVForUnity.UnityUtils.Helper.ISource2MatHelper.Play | ( | ) |
Starts playing.
Implemented in OpenCVForUnity.UnityUtils.Helper.AsyncGPUReadback2MatHelper, OpenCVForUnity.UnityUtils.Helper.Image2MatHelper, OpenCVForUnity.UnityUtils.Helper.MultiSource2MatHelper, OpenCVForUnity.UnityUtils.Helper.UnityVideoPlayer2MatHelper, OpenCVForUnity.UnityUtils.Helper.VideoCapture2MatHelper, OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatAsyncGPUHelper, and OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatHelper.
| void OpenCVForUnity.UnityUtils.Helper.ISource2MatHelper.Stop | ( | ) |
Stops playback.
Implemented in OpenCVForUnity.UnityUtils.Helper.AsyncGPUReadback2MatHelper, OpenCVForUnity.UnityUtils.Helper.Image2MatHelper, OpenCVForUnity.UnityUtils.Helper.MultiSource2MatHelper, OpenCVForUnity.UnityUtils.Helper.UnityVideoPlayer2MatHelper, OpenCVForUnity.UnityUtils.Helper.VideoCapture2MatHelper, OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatAsyncGPUHelper, and OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatHelper.
|
getset |
Gets or sets the event that is invoked when resources are disposed.
Implemented in OpenCVForUnity.UnityUtils.Helper.AsyncGPUReadback2MatHelper, OpenCVForUnity.UnityUtils.Helper.Image2MatHelper, OpenCVForUnity.UnityUtils.Helper.MultiSource2MatHelper, OpenCVForUnity.UnityUtils.Helper.UnityVideoPlayer2MatHelper, OpenCVForUnity.UnityUtils.Helper.VideoCapture2MatHelper, and OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatHelper.
|
getset |
Gets or sets the event that is invoked when an error occurs.
Implemented in OpenCVForUnity.UnityUtils.Helper.AsyncGPUReadback2MatHelper, OpenCVForUnity.UnityUtils.Helper.Image2MatHelper, OpenCVForUnity.UnityUtils.Helper.MultiSource2MatHelper, OpenCVForUnity.UnityUtils.Helper.UnityVideoPlayer2MatHelper, OpenCVForUnity.UnityUtils.Helper.VideoCapture2MatHelper, and OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatHelper.
|
getset |
Gets or sets the event that is invoked when initialization is complete.
Implemented in OpenCVForUnity.UnityUtils.Helper.AsyncGPUReadback2MatHelper, OpenCVForUnity.UnityUtils.Helper.Image2MatHelper, OpenCVForUnity.UnityUtils.Helper.MultiSource2MatHelper, OpenCVForUnity.UnityUtils.Helper.UnityVideoPlayer2MatHelper, OpenCVForUnity.UnityUtils.Helper.VideoCapture2MatHelper, and OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatHelper.
|
getset |
Gets or sets the output color format.
Implemented in OpenCVForUnity.UnityUtils.Helper.AsyncGPUReadback2MatHelper, OpenCVForUnity.UnityUtils.Helper.Image2MatHelper, OpenCVForUnity.UnityUtils.Helper.MultiSource2MatHelper, OpenCVForUnity.UnityUtils.Helper.UnityVideoPlayer2MatHelper, OpenCVForUnity.UnityUtils.Helper.VideoCapture2MatHelper, and OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatHelper.
|
getset |
Gets or sets the timeout frame count.
Implemented in OpenCVForUnity.UnityUtils.Helper.AsyncGPUReadback2MatHelper, OpenCVForUnity.UnityUtils.Helper.Image2MatHelper, OpenCVForUnity.UnityUtils.Helper.MultiSource2MatHelper, OpenCVForUnity.UnityUtils.Helper.UnityVideoPlayer2MatHelper, OpenCVForUnity.UnityUtils.Helper.VideoCapture2MatHelper, and OpenCVForUnity.UnityUtils.Helper.WebCamTexture2MatHelper.