The grab demo examples (genicam_c_demo and genicam_cpp_demo) demonstrate how to acquire and display images using a continuous (grab) or single frame (snap) acquisition. TurboDrive The examples display the current image and pixel format settings for the selected camera. Bayer/YUV images are displayed as monochrome since no conversion is performed; RGB images are displayed in color.
For a list of supported pixel formats refer to the Supported Pixel Formats section.
When more than 1 camera is available on the network, call the executable followed by the camera index (0 to (number of cameras -1), default = 0). For example,
./genicam_c_demo 1

The image is displayed in a separate window . To improve display performance, the user can optimize the display as needed for the required platform.
|
|
Note: Depending on the image size, the display window can overlap the terminal window; switch focus to the terminal window as required. |

Related Topics