OpenCV for Unity
2.6.2
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
|
Image optimization helper. v 1.1.0 More...
Public Member Functions | |
virtual bool | IsCurrentFrameSkipped () |
Indicates whether the current frame is skipped. More... | |
virtual Mat | GetDownScaleMat (Mat originalMat) |
Gets the mat that downscaled the original mat. if downscaleRatio == 1 , return originalMat. More... | |
virtual void | Dispose () |
To release the resources for the initialized method. More... | |
Protected Member Functions | |
void | OnValidate () |
Protected Attributes | |
float | _downscaleRatio = 2f |
The downscale ratio. More... | |
int | _frameSkippingRatio = 2 |
The frame skipping ratio. More... | |
int | frameCount = 0 |
The frame count. More... | |
Mat | downScaleFrameMat |
The downscale frame mat. More... | |
Properties | |
float | downscaleRatio [get, set] |
int | frameSkippingRatio [get, set] |
Image optimization helper. v 1.1.0
|
virtual |
To release the resources for the initialized method.
|
virtual |
Gets the mat that downscaled the original mat. if downscaleRatio == 1 , return originalMat.
originalMat | Original mat. |
|
virtual |
Indicates whether the current frame is skipped.
true
, if the current frame is skipped, false
otherwise.
|
protected |
|
protected |
The downscale ratio.
|
protected |
The frame skipping ratio.
|
protected |
The downscale frame mat.
|
protected |
The frame count.
|
getset |
|
getset |