SwisTrack/Components/InputCameraUSB

From Wikibooks, open books for an open world
< SwisTrack | Components
Jump to: navigation, search

Contents

[edit] Description

This component allows you to grab images from any camera supported by OpenCV. The output images are grayscale or color images.

[edit] Input

A camera supported by OpenCV.

[edit] Output

SwisTrack ColorImage.jpg

A grayscale or a color image.

[edit] Parameters

[edit] Camera number

The number of the camera. The system usually enumerates them starting with 0 for the first camera. Set to -1 for "any camera". (Note that the iSight cameras built into MacBooks need this values to be 0.)

Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export