SwisTrack/Components/InputCameraUSB

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Description[edit | edit source]

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

Input[edit | edit source]

A camera supported by OpenCV.

Output[edit | edit source]

A grayscale or a color image.

Parameters[edit | edit source]

Camera number[edit | edit source]

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.)