How to Change the videocapture property in opencv c++?
I have been trying to set the camera reading pixel size to different than what by default camera resolution is. However, I am not able to set the pixel size using
videoStream.set(cv::CAP_PROP_FRAME_WIDTH, frameWidth);
videoStream.set(cv::CAP_PROP_FRAME_HEIGHT, frameHeight);
Can someone help me out with the reasons for this?