|
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.
|
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. | |
Optional meta properties for SourceToMat sources. Unsupported keys return false from try methods without throwing.
| bool OpenCVForUnity.Extensions.SourceToMat.IMatMetaProperties.TryGetMeta | ( | string | key, |
| out object | value ) |
Attempts to get a meta property value by key.
| key | The meta key. |
| value | When this method returns true, the retrieved value; otherwise the default value. |
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.
| bool OpenCVForUnity.Extensions.SourceToMat.IMatMetaProperties.TrySetMeta | ( | string | key, |
| object | value ) |
Attempts to set a meta property value by key.
| key | The meta key. |
| value | The value to set. |
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.