Click or drag to resize
VideoCapture Class
Capture images from either camera or video file.
Inheritance Hierarchy

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: (
public class VideoCapture : UnmanagedObject, 
	IDuplexCapture, ICapture

The VideoCapture type exposes the following members.

Public methodVideoCapture
Create a capture using the default camera
Public methodVideoCapture(Int32)
Create a capture using the specific camera
Public methodVideoCapture(String)
Create a capture from file or a video stream
Public methodVideoCapture(CaptureType)
Create a capture using the specific camera
Public propertyCaptureSource
Get the type of the capture module
Public propertyFlipHorizontal
Get or Set if the captured image should be flipped horizontally
Public propertyFlipType
Get and set the flip type
Public propertyFlipVertical
Get or Set if the captured image should be flipped vertically
Public propertyHeight
The height of this capture
Public propertyIsOpened
True if the camera is opened
Public propertyPtr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Public propertyWidth
The width of this capture
Public methodDispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
Protected methodDisposeObject
Release the resource for this capture
(Overrides DisposableObjectDisposeObject.)
Public methodDuplexQueryFrame
Query a frame duplexly over WCF
Public methodDuplexQuerySmallFrame
Query a small frame duplexly over WCF
Public methodEquals (Inherited from Object.)
Protected methodFinalize
(Inherited from DisposableObject.)
Public methodGetCaptureProperty
Obtain the capture property
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodGrab
Grab a frame
Protected methodMemberwiseClone (Inherited from Object.)
Public methodPause
Pause the grab process if it is running.
Public methodQueryFrame
Capture a Bgr image frame
Public methodQuerySmallFrame
Capture a Bgr image frame that is half width and half height. Mainly used by WCF when sending image to remote locations in a bandwidth conservative scenario
Public methodRead
Similar to the C++ implementation of cv::Capture >> Mat
Protected methodReleaseManagedResources
Release the managed resources. This function will be called during the disposal of the current object. override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.)
Public methodRetrieve
Retrieve a Gray image frame after Grab()
Public methodSetCaptureProperty
Sets the specified property of video capturing
Public methodStart
Start the grab process in a separate thread. Once started, use the ImageGrabbed event handler and RetrieveGrayFrame/RetrieveBgrFrame to obtain the images.
Public methodStop
Stop the grabbing thread
Public methodToString (Inherited from Object.)
Public eventImageGrabbed
The event to be called when an image is grabbed
Protected field_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)
See Also