Table of Contents

Class FrameSource

Namespace
Emgu.CV.Superres
Assembly
Emgu.CV.dll

Create a video frame source

public class FrameSource : SharedPtrObject, IDisposable
Inheritance
FrameSource
Implements
Derived
Inherited Members

Constructors

FrameSource(int)

Create a framesource using the specific camera

public FrameSource(int camIndex)

Parameters

camIndex int

The index of the camera to create capture from, starting from 0

FrameSource(string, bool)

Create video frame source from video file

public FrameSource(string fileName, bool tryUseGpu)

Parameters

fileName string

The name of the file

tryUseGpu bool

If true, it will try to create video frame source using gpu

Properties

FrameSourcePtr

Get the pointer to the frame source

protected virtual nint FrameSourcePtr { get; }

Property Value

nint

Methods

DisposeObject()

Release all the unmanaged memory associated with this framesource

protected override void DisposeObject()

NextFrame(IOutputArray)

Get the next frame

public void NextFrame(IOutputArray frame)

Parameters

frame IOutputArray

The output array to put the frame to