Click or drag to resize
VideoCapture Class
http://www.emgu.com
Capture images from either camera or video file.
Inheritance Hierarchy

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

The VideoCapture type exposes the following members.

Constructors
  NameDescription
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
Top
Properties
  NameDescription
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
Top
Methods
  NameDescription
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
Destructor
(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.)
Top
Events
  NameDescription
Public eventImageGrabbed
The event to be called when an image is grabbed
Top
Fields
  NameDescription
Protected field_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Top
See Also