OpenCV for Unity 3.0.4
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/5.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.Extensions.SourceToMat.IMatMetaProperties Interface Reference

Optional meta properties for SourceToMat sources. Unsupported keys return false from try methods without throwing. More...

Public Member Functions

bool TryGetMeta (string key, out object value)
 Attempts to get a meta property value by key.
 
bool TrySetMeta (string key, object value)
 Attempts to set a meta property value by key.
 

Detailed Description

Optional meta properties for SourceToMat sources. Unsupported keys return false from try methods without throwing.

Member Function Documentation

◆ TryGetMeta()

bool OpenCVForUnity.Extensions.SourceToMat.IMatMetaProperties.TryGetMeta ( string key,
out object value )

Attempts to get a meta property value by key.

Parameters
keyThe meta key.
valueWhen this method returns true, the retrieved value; otherwise the default value.
Returns
true when the key is supported and a value is available; otherwise false.

Implemented in OpenCVForUnity.Extensions.SourceToMat.MatSourceBase, OpenCVForUnity.UnityIntegration.Helper.SourceToMat.Grabbers.WebCamTextureAsyncGPUReadbackFrameGrabber, and OpenCVForUnity.UnityIntegration.Helper.SourceToMat.Grabbers.WebCamTextureFrameGrabber.

◆ TrySetMeta()

bool OpenCVForUnity.Extensions.SourceToMat.IMatMetaProperties.TrySetMeta ( string key,
object value )

Attempts to set a meta property value by key.

Parameters
keyThe meta key.
valueThe value to set.
Returns
true when the key is supported and the value was applied; otherwise false.

Implemented in OpenCVForUnity.Extensions.SourceToMat.MatSourceBase, OpenCVForUnity.UnityIntegration.Helper.SourceToMat.Grabbers.WebCamTextureAsyncGPUReadbackFrameGrabber, and OpenCVForUnity.UnityIntegration.Helper.SourceToMat.Grabbers.WebCamTextureFrameGrabber.


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