Table of Contents

Class CameraCapture

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that generates a sequence of images acquired from the specified camera.

[WorkflowElementIcon("Bonsai:ElementIcon.Video")]
public class CameraCapture : Source<IplImage>
Inheritance
CameraCapture
Inherited Members

Constructors

CameraCapture()

Initializes a new instance of the CameraCapture class.

public CameraCapture()

Properties

CaptureProperties

Gets the set of capture properties assigned to the camera.

public CapturePropertyCollection CaptureProperties { get; }

Property Value

CapturePropertyCollection

Index

Gets or sets the index of the camera from which to acquire images.

public int Index { get; set; }

Property Value

int

Methods

Generate()

Generates an observable sequence of images acquired from the camera with the specified index.

public override IObservable<IplImage> Generate()

Returns

IObservable<IplImage>

A sequence of IplImage objects representing each frame acquired from the camera.