Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV's VideoCapture class provides a simple interface for cameras, but it isn't meant to give you full control (just like the HighGui class is great for basic display, but not to create a complex user interface).

For full camera control - especially for industrial cameras, which provide lots of features - I strongly recommend to use the official SDK of the camera. It allows to set the pixel format, ROI, exposure, resolution, and hundreds of other parameters.

You can easily convert the captured buffer to cv::Mat for further processing.