411 REFERENCE · Wikibooks
SwisTrack/Components/InputCameraUSB
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Description
This component allows you to grab images from any camera supported by OpenCV. The output images are grayscale or color images.
Input
A camera supported by OpenCV.
Output
Image:SwisTrack_ColorImage.jpg
A grayscale or a color image.
Parameters
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.)