Class FrameSource
A FrameSource that can be used by the Video Stabilizer
public abstract class FrameSource : UnmanagedObject, IDisposable
- Inheritance
-
FrameSource
- Implements
- Derived
- Inherited Members
Constructors
FrameSource()
protected FrameSource()
Fields
FrameSourcePtr
The unmanaged pointer the frameSource
public nint FrameSourcePtr
Field Value
Properties
CaptureSource
Get or Set the capture type
public VideoCapture.CaptureModuleType CaptureSource { get; set; }
Property Value
Methods
DisposeObject()
Release the unmanaged memory associated with this FrameSource
protected override void DisposeObject()
NextFrame()
Retrieve the next frame from the FrameSource
public Mat NextFrame()
Returns
- Mat
The next frame. If no more frames, null will be returned.
NextFrame(Mat)
Retrieve the next frame from the FrameSource
public bool NextFrame(Mat frame)
Parameters
frame
MatThe next frame
Returns
- bool
True if there are more frames