Image optimization helper. v 1.1.0.
More...
|
virtual void | Dispose () |
| To release the resources for the initialized method.
|
|
virtual Mat | GetDownScaleMat (Mat originalMat) |
| Gets the mat that downscaled the original mat. if downscaleRatio == 1 , return originalMat.
|
|
virtual bool | IsCurrentFrameSkipped () |
| Indicates whether the current frame is skipped.
|
|
Image optimization helper. v 1.1.0.
◆ Dispose()
virtual void OpenCVForUnity.UnityUtils.Helper.ImageOptimizationHelper.Dispose |
( |
| ) |
|
|
virtual |
To release the resources for the initialized method.
◆ GetDownScaleMat()
virtual Mat OpenCVForUnity.UnityUtils.Helper.ImageOptimizationHelper.GetDownScaleMat |
( |
Mat | originalMat | ) |
|
|
virtual |
Gets the mat that downscaled the original mat. if downscaleRatio == 1 , return originalMat.
- Returns
- The downscale mat.
- Parameters
-
◆ IsCurrentFrameSkipped()
virtual bool OpenCVForUnity.UnityUtils.Helper.ImageOptimizationHelper.IsCurrentFrameSkipped |
( |
| ) |
|
|
virtual |
Indicates whether the current frame is skipped.
- Returns
true
, if the current frame is skipped, false
otherwise.
◆ OnValidate()
void OpenCVForUnity.UnityUtils.Helper.ImageOptimizationHelper.OnValidate |
( |
| ) |
|
|
protected |
◆ _downscaleRatio
float OpenCVForUnity.UnityUtils.Helper.ImageOptimizationHelper._downscaleRatio = 2f |
|
protected |
◆ _frameSkippingRatio
int OpenCVForUnity.UnityUtils.Helper.ImageOptimizationHelper._frameSkippingRatio = 2 |
|
protected |
The frame skipping ratio.
◆ downScaleFrameMat
Mat OpenCVForUnity.UnityUtils.Helper.ImageOptimizationHelper.downScaleFrameMat |
|
protected |
◆ frameCount
int OpenCVForUnity.UnityUtils.Helper.ImageOptimizationHelper.frameCount = 0 |
|
protected |
◆ downscaleRatio
float OpenCVForUnity.UnityUtils.Helper.ImageOptimizationHelper.downscaleRatio |
|
getset |
◆ frameSkippingRatio
int OpenCVForUnity.UnityUtils.Helper.ImageOptimizationHelper.frameSkippingRatio |
|
getset |
The documentation for this class was generated from the following file: